feat(nvim): add projectionist
This commit is contained in:
parent
7147da76cd
commit
e41673a9ca
18
nvimrc
18
nvimrc
|
@ -295,6 +295,24 @@ packadd! vim-rhubarb " https://github.com/tpope/vim-rhubarb.git
|
|||
packadd! editorconfig-vim " https://github.com/editorconfig/editorconfig-vim.git
|
||||
packadd! vim-wordmotion " https://github.com/chaoren/vim-wordmotion.git
|
||||
|
||||
" projectionist
|
||||
packadd! vim-projectionist " https://github.com/tpope/vim-projectionist.git
|
||||
|
||||
let g:projectionist_heuristics = {
|
||||
\ "*.go": {
|
||||
\ "*_test.go": {
|
||||
\ "type": "source",
|
||||
\ "alternate": "{}.go",
|
||||
\ },
|
||||
\ "*.go": {
|
||||
\ "type": "source",
|
||||
\ "alternate": "{}_test.go",
|
||||
\ },
|
||||
\ "etc/rbenv.d/*.bash": {"type": "hook"}
|
||||
\ }
|
||||
\ }
|
||||
nnoremap <leader>A :A<cr>
|
||||
|
||||
" aerial
|
||||
packadd! aerial.nvim " https://github.com/stevearc/aerial.nvim.git
|
||||
|
||||
|
|
Loading…
Reference in New Issue