Added extra lsp keymaps

This commit is contained in:
Alejandro Angulo 2024-06-01 07:57:37 -07:00
parent 94d9a6324d
commit debd2edc40
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -1,6 +1,22 @@
{pkgs, ...}: { {pkgs, ...}: {
plugins.lsp = { plugins.lsp = {
enable = true; 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 = { servers = {
# python # python
ruff.enable = true; ruff.enable = true;