feat(vim): add set up different litee things
This commit is contained in:
parent
509d45ed53
commit
af7517c34e
1 changed files with 28 additions and 1 deletions
|
@ -40,7 +40,6 @@
|
||||||
{plugin = editorconfig-nvim;}
|
{plugin = editorconfig-nvim;}
|
||||||
{plugin = friendly-snippets;}
|
{plugin = friendly-snippets;}
|
||||||
{plugin = fugitive;}
|
{plugin = fugitive;}
|
||||||
{plugin = litee-nvim;} # required by gh-nvim
|
|
||||||
{plugin = lualine-lsp-progress;}
|
{plugin = lualine-lsp-progress;}
|
||||||
{plugin = playground;}
|
{plugin = playground;}
|
||||||
{plugin = rust-vim;}
|
{plugin = rust-vim;}
|
||||||
|
@ -131,6 +130,34 @@
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
plugin = litee-nvim;
|
||||||
|
config = ''
|
||||||
|
lua require 'litee.lib'.setup {}
|
||||||
|
|
||||||
|
nnoremap <silent> ${leader}lt :LTPanel<cr>
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
plugin = litee-calltree-nvim;
|
||||||
|
config = ''
|
||||||
|
lua require 'litee.calltree'.setup {}
|
||||||
|
|
||||||
|
nnoremap <silent> ${leader}lci :lua vim.lsp.buf.incoming_calls()<cr>
|
||||||
|
nnoremap <silent> ${leader}lco :lua vim.lsp.buf.outgoing_calls()<cr>
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
plugin = litee-symboltree-nvim;
|
||||||
|
config = ''
|
||||||
|
lua require 'litee.symboltree'.setup {}
|
||||||
|
|
||||||
|
nnoremap <silent> ${leader}ls :lua vim.lsp.buf.document_symbol()<cr>
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = lualine-nvim;
|
plugin = lualine-nvim;
|
||||||
config = ''
|
config = ''
|
||||||
|
|
Loading…
Reference in a new issue