From e65f3e42a52d3128526c77df315e9457acd038c5 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 12 Jun 2025 12:13:49 +0100 Subject: [PATCH] Re-add LSP keymaps --- .../home-manager/coding/neovim/plugins/lsp.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/home-manager/coding/neovim/plugins/lsp.nix b/modules/home-manager/coding/neovim/plugins/lsp.nix index a4fd7750..9b186aa6 100644 --- a/modules/home-manager/coding/neovim/plugins/lsp.nix +++ b/modules/home-manager/coding/neovim/plugins/lsp.nix @@ -1,3 +1,19 @@ { plugins.lsp.enable = true; + + plugins.lsp.keymaps = { + diagnostic = { + "dl" = "setqflist"; + }; + + lspBuf = { + "ca" = "code_action"; + "cr" = "rename"; + K = "hover"; + gD = "declaration"; + gT = "type_definition"; + gd = "definition"; + gr = "references"; + }; + }; }