configs/neovim: switch to universal-ctags, add typescript config
This commit is contained in:
parent
a9c6b1f5f8
commit
6485236f04
@ -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'
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user