configs/neovim: switch to universal-ctags, add typescript config

This commit is contained in:
Aaron Bieber 2023-06-09 09:40:20 -06:00
parent a9c6b1f5f8
commit 6485236f04
No known key found for this signature in database
2 changed files with 16 additions and 1 deletions

View File

@ -121,6 +121,7 @@ vim.api.nvim_create_autocmd('LspAttach', {
})
vim.g.tagbar_type_elm = {
ctagstype = 'elm',
kinds = {
'f:function:0:0',
'm:modules:0:0',
@ -132,3 +133,17 @@ vim.g.tagbar_type_elm = {
's:functions:0:0'
}
}
vim.g.tagbar_type_typescript = {
ctagstype = 'typescript',
kinds = {
'c:classes',
'n:modules',
'f:functions',
'v:variables',
'v:varlambdas',
'm:members',
'i:interfaces',
'e:enums'
}
}

View File

@ -149,7 +149,6 @@ let
baseVimPackages ++ [ ];
in {
environment.systemPackages = with pkgs; [
ctags
elmPackages.elm
elmPackages.elm-format
elmPackages.elm-language-server
@ -172,6 +171,7 @@ in {
rubyPackages.solargraph
sumneko-lua-language-server
tree-sitter
universal-ctags
zls
NeovimExt