Skip to content

Commit

Permalink
remote tsserver for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mosheavni committed Sep 9, 2024
1 parent 9f388ad commit eb69c51
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 46 deletions.
4 changes: 0 additions & 4 deletions .config/nvim/lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion .config/nvim/lua/plugins/null-ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
41 changes: 0 additions & 41 deletions .config/nvim/lua/user/lsp/servers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eb69c51

Please sign in to comment.