Added extra lsp keymaps
This commit is contained in:
parent
94d9a6324d
commit
debd2edc40
|
@ -1,6 +1,22 @@
|
|||
{pkgs, ...}: {
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
|
||||
keymaps.extra = [
|
||||
{
|
||||
action = "<cmd>LspStop<CR>";
|
||||
key = "<leader>lx";
|
||||
}
|
||||
{
|
||||
action = "<cmd>LspStart<CR>";
|
||||
key = "<leader>ls";
|
||||
}
|
||||
{
|
||||
action = "<cmd>LspRestart<CR>";
|
||||
key = "<leader>lr";
|
||||
}
|
||||
];
|
||||
|
||||
servers = {
|
||||
# python
|
||||
ruff.enable = true;
|
||||
|
|
Loading…
Reference in a new issue