neovim: Prefer vista-vim over tagbar

Vista supports both ctags and nvim_lsp, letting it be used for
TypeScript and other languages not supported by default with ctags.
This commit is contained in:
Donovan Glover 2024-03-09 11:45:33 -05:00
parent fa1650198f
commit a7877944f4
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -178,7 +178,7 @@ in
nnoremap <silent> <leader>l :Rg<CR>
nnoremap <silent> <leader>; :NvimTreeToggle<CR>
nnoremap <silent> <leader>z :ZenMode<CR>
nnoremap <silent> <leader>b :TagbarToggle<CR>
nnoremap <silent> <leader>b :Vista!!<CR>
vnoremap <C-s> y:silent !notify-send -t 4000 "" "$(tango '<C-r>0')"<CR>:<Esc>
autocmd BufNewFile,BufRead *.ecr setlocal syntax=html
@ -568,6 +568,17 @@ in
}
'';
}
{
plugin = vista-vim;
config = /* vim */ ''
let g:vista_default_executive = 'nvim_lsp'
let g:vista_executive_for = {
\ 'rust': 'ctags',
\ }
autocmd QuitPre * silent! :Vista!
'';
}
fzf-vim
vim-caddyfile
vim-graphql