mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
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:
parent
fa1650198f
commit
a7877944f4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user