nixvim: move plugin configuration
This commit is contained in:
parent
60d1769903
commit
01cc01069b
36 changed files with 0 additions and 0 deletions
23
modules2/nixvim/lsp.nix
Normal file
23
modules2/nixvim/lsp.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
flake.modules.nixvim.custom.plugins.lsp = {
|
||||
enable = true;
|
||||
|
||||
keymaps = {
|
||||
diagnostic = {
|
||||
"<leader>dl" = "setqflist";
|
||||
};
|
||||
|
||||
lspBuf = {
|
||||
"<leader>ca" = "code_action";
|
||||
"<leader>cr" = "rename";
|
||||
K = "hover";
|
||||
gD = "declaration";
|
||||
gT = "type_definition";
|
||||
gd = "definition";
|
||||
gr = "references";
|
||||
};
|
||||
};
|
||||
|
||||
servers.phpactor.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue