We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838829c commit d867aaeCopy full SHA for d867aae
plugins/lsp/default.nix
@@ -198,6 +198,14 @@ in
198
let
199
actionStr = action.action or action;
200
actionProps = optionalAttrs (isAttrs action) (removeAttrs action [ "action" ]);
201
+ desc =
202
+ let
203
+ split = splitString "." prefix;
204
+ splitlen = length split;
205
+ prefixFinal = (elemAt split (splitlen - 2)) + " ";
206
+ optPrefix = optionalString (splitlen > 2) prefixFinal;
207
+ in
208
+ "Lsp " + optPrefix + actionStr;
209
in
210
{
211
mode = "n";
@@ -206,6 +214,7 @@ in
214
215
options = {
216
inherit (cfg.keymaps) silent;
217
+ inherit desc;
218
} // actionProps;
219
}
220
);
0 commit comments