Files
Aaron Gorodetzky a18e2db0eb Fix mason-lspconfig names and blink.cmp snippets config
mason-lspconfig ensure_installed expects lspconfig server names (e.g.
rust_analyzer) not Mason package names (e.g. rust-analyzer).

Remove snippets.preset='none' from blink.cmp ??? not a valid v1 option.
Snippets are already excluded from sources list.
2026-09-14 10:22:44 -04:00

37 lines
1.0 KiB
Lua

-- 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 = {},
}