Timeline for How can I get path from vim-rooter's function and run it with QuickRun's makeprg?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 18, 2016 at 5:55 | vote | accept | whitesiroi | ||
Feb 17, 2016 at 8:55 | comment | added | Luc Hermitte | Looks like you need to source the plugin where this function is defined before calling it. | |
Feb 17, 2016 at 2:36 | comment | added | whitesiroi | @muru I have tried with several projects and :silent! make | copen does work great. | |
Feb 17, 2016 at 2:00 | comment | added | whitesiroi | @Luc Hermitte Thank you very much. let &makeprg=FindRootDirectory()."/app/Console/cake test %:p" does work, but I'm also getting a black screen instead of my previous opened file. Do you know how can I get only results in the bottom? I attach screenshot and update my question. Thank you. | |
Feb 16, 2016 at 18:13 | comment | added | muru |
If I understood it right, this will have to be done each time OP switches to something with a different root directory, i.e, there's no way to evaluate what the root directory is when :make is called.
|
|
Feb 16, 2016 at 18:12 | history | edited | muru | CC BY-SA 3.0 |
edited body
|
Feb 16, 2016 at 11:43 | history | answered | Luc Hermitte | CC BY-SA 3.0 |