fix(typescript): remove keymaps for non-existing code actions

This commit is contained in:
Folke Lemaitre 2026-03-20 19:00:29 +01:00
parent ad25b31e51
commit 53f4eabd77
No known key found for this signature in database
GPG key ID: 9B52594D560070AB

View file

@ -55,18 +55,6 @@ return {
},
},
},
keys = {
{
"<leader>cu",
LazyVim.lsp.action["source.removeUnused.ts"],
desc = "Remove unused imports",
},
{
"<leader>cD",
LazyVim.lsp.action["source.fixAll.ts"],
desc = "Fix all diagnostics",
},
},
},
vtsls = {
-- explicitly add default filetypes, so that we can extend
@ -136,11 +124,6 @@ return {
LazyVim.lsp.action["source.addMissingImports.ts"],
desc = "Add missing imports",
},
{
"<leader>cu",
LazyVim.lsp.action["source.removeUnused.ts"],
desc = "Remove unused imports",
},
{
"<leader>cD",
LazyVim.lsp.action["source.fixAll.ts"],