return { cmd = { "typescript-language-server", "--stdio" }, filetypes = { "typescript", "typescriptreact", "typescript.txt", "javascript", "javascriptreact", "javascript.jsx", }, root_markers = { "package.json", "tsconfig.json", ".git" }, settings = { typescript = { updateImportOnFileMove = { enabled = "always" }, suggest = { completeFunctionCalls = true }, inlayHints = { includeInlayParameterNameHints = "all", includeInlayParameterNameHintsWhenArgumentMatchesName = false, includeInlayFunctionParameterTypeHints = true, includeInlayVariableTypeHints = true, includeInlayPropertyDeclarationTypeHints = true, includeInlayFunctionLikeReturnTypeHints = true, includeInlayEnumMemberValueHints = true, }, }, javascript = { inlayHints = { includeInlayParameterNameHints = "all", includeInlayParameterNameHintsWhenArgumentMatchesName = false, includeInlayFunctionParameterTypeHints = true, includeInlayVariableTypeHints = true, includeInlayPropertyDeclarationTypeHints = true, includeInlayFunctionLikeReturnTypeHints = true, includeInlayEnumMemberValueHints = true, }, }, }, }