Skip to content

Commit

Permalink
fix: fixes undo weird cause typescription action
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Dec 17, 2022
1 parent e9295be commit c2b81fb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lua/config/lsp/null-ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ import({ "mason-null-ls", "null-ls", "mason-null-ls.automatic_setup" }, function
group = augroup,
buffer = bufnr,
callback = function()
if vim.bo.filetype == "typescriptreact" or vim.bo.filetype == "typescript" then
vim.cmd("TypescriptOrganizeImports!")
end
vim.lsp.buf.format({ bufnr = bufnr })
end,
})
Expand Down

0 comments on commit c2b81fb

Please sign in to comment.