Flatten modules
This commit is contained in:
parent
ab5ae74dda
commit
d1a58fec56
86 changed files with 64 additions and 50 deletions
21
modules/home-manager/neovim/config/plugins/lsp.nix
Normal file
21
modules/home-manager/neovim/config/plugins/lsp.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
plugins.lsp.enable = true;
|
||||
|
||||
plugins.lsp.keymaps = {
|
||||
diagnostic = {
|
||||
"<leader>dl" = "setqflist";
|
||||
};
|
||||
|
||||
lspBuf = {
|
||||
"<leader>ca" = "code_action";
|
||||
"<leader>cr" = "rename";
|
||||
K = "hover";
|
||||
gD = "declaration";
|
||||
gT = "type_definition";
|
||||
gd = "definition";
|
||||
gr = "references";
|
||||
};
|
||||
};
|
||||
|
||||
plugins.lsp.servers.phpactor.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue