diff --git a/programs/nvim.nix b/programs/nvim.nix index 6e0761a..28efab3 100644 --- a/programs/nvim.nix +++ b/programs/nvim.nix @@ -40,7 +40,6 @@ {plugin = editorconfig-nvim;} {plugin = friendly-snippets;} {plugin = fugitive;} - {plugin = litee-nvim;} # required by gh-nvim {plugin = lualine-lsp-progress;} {plugin = playground;} {plugin = rust-vim;} @@ -131,6 +130,34 @@ ''; } + { + plugin = litee-nvim; + config = '' + lua require 'litee.lib'.setup {} + + nnoremap ${leader}lt :LTPanel + ''; + } + + { + plugin = litee-calltree-nvim; + config = '' + lua require 'litee.calltree'.setup {} + + nnoremap ${leader}lci :lua vim.lsp.buf.incoming_calls() + nnoremap ${leader}lco :lua vim.lsp.buf.outgoing_calls() + ''; + } + + { + plugin = litee-symboltree-nvim; + config = '' + lua require 'litee.symboltree'.setup {} + + nnoremap ${leader}ls :lua vim.lsp.buf.document_symbol() + ''; + } + { plugin = lualine-nvim; config = ''