mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-27 19:28:59 +02:00
feat(typescript): add keymap for remove unused imports (#3376)
This commit is contained in:
parent
298a8f5c5d
commit
0a9373733f
1 changed files with 7 additions and 0 deletions
|
@ -86,6 +86,13 @@ return {
|
||||||
end,
|
end,
|
||||||
desc = "Add missing imports",
|
desc = "Add missing imports",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"<leader>cu",
|
||||||
|
function()
|
||||||
|
require("vtsls").commands.remove_unused_imports(0)
|
||||||
|
end,
|
||||||
|
desc = "Remove unused imports",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"<leader>cD",
|
"<leader>cD",
|
||||||
function()
|
function()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue