mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 10:44:34 +02:00
LSP: Register keymaps on LspAttach
This commit is contained in:
parent
7baefc8aa5
commit
03009d0b99
2 changed files with 82 additions and 27 deletions
|
@ -27,6 +27,29 @@
|
|||
desc = "Hover";
|
||||
};
|
||||
};
|
||||
|
||||
extra = [
|
||||
{
|
||||
key = "<leader>li";
|
||||
action = "<CMD>LspInfo<Enter>";
|
||||
}
|
||||
{
|
||||
key = "<leader>lx";
|
||||
action = "<CMD>LspStop<Enter>";
|
||||
}
|
||||
{
|
||||
key = "<leader>ls";
|
||||
action = "<CMD>LspStart<Enter>";
|
||||
}
|
||||
{
|
||||
key = "<leader>lr";
|
||||
action = "<CMD>LspRestart<Enter>";
|
||||
}
|
||||
{
|
||||
key = "<leader>ll";
|
||||
action = "<CMD>LspLog<Enter>";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
servers = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue