Vim: LSP fidget and gitgutter

This commit is contained in:
Filippo Berto 2024-01-14 09:02:49 +01:00
parent af1f453962
commit 7ffee1baa6
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -11,6 +11,7 @@ let vp = pkgs.vimPlugins; in {
# # Git related plugins
# vp.fugitive
# vp.rhubarb
vp.gitgutter
# vp.lsp-zero-nvim
# vp.nvim-cmp
@ -31,7 +32,7 @@ let vp = pkgs.vimPlugins; in {
i = {
["<C-k>"] = actions.move_selection_previous, -- move to prev result
["<C-j>"] = actions.move_selection_next, -- move to next result
["<C-q>"] = actions.send_selected_to_qflist + actions.open_qflist,
["<C-q>"] = actions.send_selected_to_qflist + actions.open_qflist,
}
}
}
@ -51,10 +52,10 @@ let vp = pkgs.vimPlugins; in {
vp.dressing-nvim # Better UI for input and selection
# Tree view
# vp.nerdtree-git-plugin
# vp.vim-devicons
# vp.nerdtree
# vp.chadtree
vp.nerdtree-git-plugin
vp.vim-devicons
vp.nerdtree
vp.cmp-buffer # source for text in buffer
vp.cmp-path # source for file system path
@ -79,7 +80,14 @@ let vp = pkgs.vimPlugins; in {
# }
# # LSP
vp.fidget-nvim # fidget moving while LSP is working
# fidget moving while LSP is working
{
plugin = vp.fidget-nvim;
type = "lua";
config = ''
require("fidget").setup({})
'';
}
# vp.neodev-nvim
# # vp.nvim-lspconfig
vp.cmp-nvim-lsp