Re-add LSP keymaps
This commit is contained in:
parent
e1bd0932f8
commit
e65f3e42a5
1 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,19 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue