forked from dineshsalunke/nvim-config
fix: use the correct command for organizing imports for ts
This commit is contained in:
parent
b02df431bb
commit
75e623793f
@ -72,7 +72,12 @@ return {
|
||||
dependencies = { "nvim-lua/plenary.nvim", "neovim/nvim-lspconfig" },
|
||||
config = function()
|
||||
require("typescript-tools").setup({})
|
||||
vim.keymap.set("n", "<leader>toi", vim.lsp.buf.rename, { desc = "[T]ypescript [O]rganize [I]mports" })
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<leader>toi",
|
||||
"<CMD>TSToolsOrganizeImports<CR>",
|
||||
{ desc = "[T]ypescript [O]rganize [I]mports" }
|
||||
)
|
||||
end,
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user