-- Language module: Web (TypeScript, HTML, Tailwind CSS)
local shared = require('languages._shared')
return {
servers = {
ts_ls = {
capabilities = shared.make_capabilities(false),
init_options = {
preferences = {
includeInlayParameterNameHints = 'all',
includeInlayParameterNameHintsWhenArgumentMatchesName = false,
includeInlayFunctionParameterTypeHints = true,
includeInlayVariableTypeHints = true,
includeInlayPropertyDeclarationTypeHints = true,
includeInlayFunctionLikeReturnTypeHints = true,
includeInlayEnumMemberValueHints = true,
importModuleSpecifierPreference = 'non-relative',
},
},
},
html = {
capabilities = shared.make_capabilities(false),
},
tailwindcss = {
capabilities = shared.make_capabilities(false),
},
},
parsers = { "javascript", "typescript", "html", "css", "json" },
mason_packages = { "ts_ls", "html", "tailwindcss" },
plugins = {},
cmp_filetypes = {},
}