vim-makery
vim-makery copied to clipboard
Doesn't run makeprg from project root
If Vim is opened from a project subdir, it reads .makery.json from project root properly, since it recurses up directories to search for it.
However, project root is sometimes needed for the makeprg to work (e.g. having Mtags run ctags -R src will certainly need to run in project root, for it to find src). Saving project root to a variable could certainly prove convenient.
Ideas for detecting project root:
- For
.makery.json: use the directory in which.makery.jsonis found. - For
g:makery_config: without globbing, use the exact path as it appears in the config. With globbing, use the current path (parent directory of the current buffer)? - For Projectionist support: use the most precisely targeted root from
projectionist#query()orprojectionist#path()?
Is this being worked on? I could lend a hand!
Sure, have at it! Thanks.