diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 4406f3a..a784dc7 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -69,10 +69,6 @@ M.dependencies = { } local language_specific_plugins = { - { - 'jose-elias-alvarez/typescript.nvim', - ft = { 'typescript', 'typescriptreact', 'typescript.tsx', 'javascript' }, - }, { 'cuducos/yaml.nvim', ft = 'yaml' }, { 'phelipetls/jsonpath.nvim', diff --git a/.config/nvim/lua/plugins/null-ls.lua b/.config/nvim/lua/plugins/null-ls.lua index 0d1d39e..9297bd1 100644 --- a/.config/nvim/lua/plugins/null-ls.lua +++ b/.config/nvim/lua/plugins/null-ls.lua @@ -20,7 +20,6 @@ M.config = function() null_ls.builtins.code_actions.proselint, require('user.lsp.code-actions').revision_branch_comment, require('user.lsp.code-actions').toggle_function_params, - require 'typescript.extensions.null-ls.code-actions', require 'none-ls-shellcheck.code_actions', null_ls.builtins.diagnostics.golangci_lint, null_ls.builtins.diagnostics.hadolint, diff --git a/.config/nvim/lua/user/lsp/servers.lua b/.config/nvim/lua/user/lsp/servers.lua index fa52158..3cd8a73 100644 --- a/.config/nvim/lua/user/lsp/servers.lua +++ b/.config/nvim/lua/user/lsp/servers.lua @@ -102,47 +102,6 @@ M.setup = function() capabilities = capabilities, } - require('typescript').setup { - server = { - settings = { - preferences = { - allowRenameOfImportPath = true, - disableSuggestions = false, - importModuleSpecifierEnding = 'auto', - importModuleSpecifierPreference = 'non-relative', - includeCompletionsForImportStatements = true, - includeCompletionsForModuleExports = true, - quotePreference = 'single', - }, - -- specify some or all of the following settings if you want to adjust the default behavior - javascript = { - inlayHints = { - includeInlayEnumMemberValueHints = true, - includeInlayFunctionLikeReturnTypeHints = true, - includeInlayFunctionParameterTypeHints = true, - includeInlayParameterNameHints = 'all', -- 'none' | 'literals' | 'all'; - includeInlayParameterNameHintsWhenArgumentMatchesName = true, - includeInlayPropertyDeclarationTypeHints = true, - includeInlayVariableTypeHints = true, - }, - }, - typescript = { - inlayHints = { - includeInlayEnumMemberValueHints = true, - includeInlayFunctionLikeReturnTypeHints = true, - includeInlayFunctionParameterTypeHints = true, - includeInlayParameterNameHints = 'all', -- 'none' | 'literals' | 'all'; - includeInlayParameterNameHintsWhenArgumentMatchesName = true, - includeInlayPropertyDeclarationTypeHints = true, - includeInlayVariableTypeHints = true, - }, - }, - }, - on_attach = default_on_attach, - capabilities = capabilities, - }, - } - require('lspconfig')['vimls'].setup { on_attach = default_on_attach, capabilities = capabilities,