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 = { lspBuf = {
K = "hover"; K = {
"<leader>lD" = "references"; action = "hover";
"<leader>ld" = "definition"; description "Hover";
"<leader>li" = "implementation"; };
"<leader>lt" = "type_definition"; "<leader>lr" = {
"<leader>ca" = "code_action"; 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";
};
}; };
}; };
}; };