summary refs log tree commit diff stats
path: root/hm/nixvim
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-12-17 23:35:29 +0100
committerSilas Schöffel <sils@sils.li>2024-12-17 23:35:29 +0100
commitd264474db7be068afe29879f05bb42edfc85f40e (patch)
tree0cb89a665533999304198cc125bd04d2927f1535 /hm/nixvim
parentinitrd.systemd: reenable (diff)
downloadnix-config-d264474db7be068afe29879f05bb42edfc85f40e.tar.gz
nix-config-d264474db7be068afe29879f05bb42edfc85f40e.zip
nixvim: add lsp hover keybinding
Diffstat (limited to 'hm/nixvim')
-rw-r--r--hm/nixvim/config.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hm/nixvim/config.nix b/hm/nixvim/config.nix
index eeb29ff..58753b0 100644
--- a/hm/nixvim/config.nix
+++ b/hm/nixvim/config.nix
@@ -131,6 +131,11 @@ pkgs: {
         ltex.enable = true;
         java_language_server.enable = true;
       };
+      keymaps = {
+        lspBuf = {
+          "<S-h>" = "hover";
+        };
+      };
     };
     lspkind = {
       enable = true;