You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.json is 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() or projectionist#path()?
The text was updated successfully, but these errors were encountered:
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. havingMtags
runctags -R src
will certainly need to run in project root, for it to findsrc
). Saving project root to a variable could certainly prove convenient.Ideas for detecting project root:
.makery.json
: use the directory in which.makery.json
is found.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)?projectionist#query()
orprojectionist#path()
?The text was updated successfully, but these errors were encountered: