diff --git a/home/neovim.nix b/home/neovim.nix index 0034e1fe..c1ca7473 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -74,6 +74,9 @@ in typstfmt typst-lsp typst-live + + # ctags + universal-ctags ]; editorconfig = { @@ -161,6 +164,7 @@ in nnoremap l :Rg nnoremap ; :NvimTreeToggle nnoremap z :ZenMode + nnoremap b :TagbarToggle vnoremap y:silent !notify-send -t 4000 "成果" "$(tango '0')": autocmd BufNewFile,BufRead *.ecr setlocal syntax=html @@ -289,7 +293,7 @@ in require('lualine').setup { options = { theme = theme, - disabled_filetypes = {'NvimTree'} + disabled_filetypes = {'NvimTree', 'tagbar'} }, sections = { lualine_c = {'%f'} } } @@ -465,6 +469,7 @@ in vim-svelte typst-vim nvim-treesitter.withAllGrammars + tagbar ]; };