refactor(nvim): remove typescript tools
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
This commit is contained in:
parent
bf3134c5cb
commit
7d64a84f6e
@ -188,11 +188,6 @@ return {
|
|||||||
"simrat39/rust-tools.nvim",
|
"simrat39/rust-tools.nvim",
|
||||||
"Hoffs/omnisharp-extended-lsp.nvim",
|
"Hoffs/omnisharp-extended-lsp.nvim",
|
||||||
"b0o/schemastore.nvim",
|
"b0o/schemastore.nvim",
|
||||||
{
|
|
||||||
"pmizio/typescript-tools.nvim",
|
|
||||||
build = "npm i -g @styled/typescript-styled-plugin typescript",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"m-demare/hlargs.nvim",
|
"m-demare/hlargs.nvim",
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
@ -468,31 +463,6 @@ return {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Custom config from typescript tools
|
|
||||||
require("typescript-tools").setup({
|
|
||||||
on_attach = on_attach,
|
|
||||||
settings = {
|
|
||||||
expose_as_code_action = {
|
|
||||||
"fix_all",
|
|
||||||
"add_missing_imports",
|
|
||||||
"remove_unused",
|
|
||||||
"remove_unused_imports",
|
|
||||||
"organize_imports",
|
|
||||||
},
|
|
||||||
tsserver_plugins = {
|
|
||||||
"@styled/typescript-styled-plugin",
|
|
||||||
},
|
|
||||||
tsserver_file_preferences = {
|
|
||||||
includeInlayParameterNameHints = "all",
|
|
||||||
includeInlayEnumMemberValueHints = true,
|
|
||||||
includeInlayFunctionLikeReturnTypeHints = true,
|
|
||||||
includeInlayFunctionParameterTypeHints = true,
|
|
||||||
includeInlayPropertyDeclarationTypeHints = true,
|
|
||||||
includeInlayVariableTypeHints = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
lspconfig.gopls.setup({
|
lspconfig.gopls.setup({
|
||||||
capabilities = lsp_capabilities,
|
capabilities = lsp_capabilities,
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
@ -533,6 +503,7 @@ return {
|
|||||||
"terraformls",
|
"terraformls",
|
||||||
"tflint",
|
"tflint",
|
||||||
"vimls",
|
"vimls",
|
||||||
|
"tsserver",
|
||||||
"marksman",
|
"marksman",
|
||||||
"asm_lsp",
|
"asm_lsp",
|
||||||
"typst_lsp",
|
"typst_lsp",
|
||||||
|
Loading…
Reference in New Issue
Block a user