From debd2edc4005ac93d2271d41c9e89f20a3bdb491 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 1 Jun 2024 07:57:37 -0700 Subject: [PATCH] Added extra lsp keymaps --- config/plugins/lsp.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/plugins/lsp.nix b/config/plugins/lsp.nix index 85bfcc6..eba3d27 100644 --- a/config/plugins/lsp.nix +++ b/config/plugins/lsp.nix @@ -1,6 +1,22 @@ {pkgs, ...}: { plugins.lsp = { enable = true; + + keymaps.extra = [ + { + action = "LspStop"; + key = "lx"; + } + { + action = "LspStart"; + key = "ls"; + } + { + action = "LspRestart"; + key = "lr"; + } + ]; + servers = { # python ruff.enable = true;