Closed practicalli-johnny closed 5 months ago
tpope/projectionist https://github.com/tpope/vim-projectionist
Suggested binding: SPC p a for project alternate
SPC p a
Swap between src and test with a simple binding Per project configuration config using projections.json file in root of project
{ "src/*.clj": { "alternate": "test/{}_test.clj", "type": "source" }, "test/*_test.clj": { "alternate": "src/{}.clj", "type": "test" } }
Global configuration set it globally if a directory contains a file, using g:projectionist_heuristics
g:projectionist_heuristics
create a file $HOME/.vim/syntax/clojure.vim containing
$HOME/.vim/syntax/clojure.vim
" " Projections " autocmd User ProjectionistDetect \ call projectionist#append(getcwd(), \ { \ 'src/*.clj': { \ 'alternate': 'test/{}_test.clj', \ 'type': 'source' \ }, \ 'test/*_test.clj': { \ 'alternate': 'src/{}.clj', \ 'type': 'test' \ }, \ })
Looking for a lua based plugin or something with examples of configuring with lazy package manager.
tpope/projectionist https://github.com/tpope/vim-projectionist
Suggested binding:
SPC p a
for project alternateSwap between src and test with a simple binding Per project configuration config using projections.json file in root of project
Global configuration set it globally if a directory contains a file, using
g:projectionist_heuristics
create a file
$HOME/.vim/syntax/clojure.vim
containing