switch from vtsls to tsserver

This commit is contained in:
Andy Teijelo 2024-07-16 12:07:09 -04:00
parent 73684f4c7f
commit 11dcc20d71

View file

@ -22,6 +22,12 @@ return {
rust_analyzer = function() rust_analyzer = function()
return true return true
end, end,
tsserver = function()
return false
end,
vtsls = function()
return true
end,
}, },
servers = { servers = {
yamlls = { yamlls = {
@ -48,6 +54,24 @@ return {
}, },
}, },
}, },
vtsls = { enabled = false },
tsserver = {
enabled = true,
settings = {
typescript = {
inlayHints = {
includeInlayEnumMemberValueHints = true,
includeInlayFunctionLikeReturnTypeHints = true,
includeInlayFunctionParameterTypeHints = true,
includeInlayParameterNameHints = "literals",
includeInlayParameterNameHintsWhenArgumentMatchesName = false,
includeInlayPropertyDeclarationTypeHints = true,
includeInlayVariableTypeHints = false,
includeInlayVariableTypeHintsWhenTypeMatchesName = false,
},
},
},
},
}, },
}, },
}, },