This commit is contained in:
iFargle 2024-02-13 14:57:05 +09:00
parent 5d4a7a9ddc
commit 29ade3a2ee

View file

@ -172,12 +172,30 @@
};
lspBuf = {
K = "hover";
"<leader>lD" = "references";
"<leader>ld" = "definition";
"<leader>li" = "implementation";
"<leader>lt" = "type_definition";
"<leader>ca" = "code_action";
K = {
action = "hover";
description "Hover";
};
"<leader>lr" = {
action = "references";
desc = "LSP [r]eferences";
};
"<leader>ld" = {
action = "definition";
desc = "LSP [d]efinitions";
};
"<leader>li" = {
action = "implementation";
desc = "LSP [i]implementations";
};
"<leader>lt" = {
action = "type_definition";
desc = "LSP [t]ype definitions";
};
"<leader>la" = {
action = "code_action";
desc = "LSP Code [A]ctions";
};
};
};
};