From 29ade3a2ee9043b59da966087bd760857f305524 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 13 Feb 2024 14:57:05 +0900 Subject: [PATCH] test --- home-manager/common/software/cli/nixvim.nix | 30 ++++++++++++++++----- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index 4c36e64b..c5cdbece 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -172,12 +172,30 @@ }; lspBuf = { - K = "hover"; - "lD" = "references"; - "ld" = "definition"; - "li" = "implementation"; - "lt" = "type_definition"; - "ca" = "code_action"; + K = { + action = "hover"; + description "Hover"; + }; + "lr" = { + action = "references"; + desc = "LSP [r]eferences"; + }; + "ld" = { + action = "definition"; + desc = "LSP [d]efinitions"; + }; + "li" = { + action = "implementation"; + desc = "LSP [i]implementations"; + }; + "lt" = { + action = "type_definition"; + desc = "LSP [t]ype definitions"; + }; + "la" = { + action = "code_action"; + desc = "LSP Code [A]ctions"; + }; }; }; };