return { { "neovim/nvim-lspconfig", opts = { inlay_hints = { enabled = false }, servers = { buf_ls = {}, cssls = {}, tailwindcss = { root_dir = function(...) return require("lspconfig.util").root_pattern( "tailwind.config.js", "tailwind.config.cjs", "tailwind.config.mjs", "tailwind.config.ts", "postcss.config.js", "postcss.config.cjs", "postcss.config.mjs", "postcss.config.ts", "package.json", "node_modules", ".git" )(...) end, }, ts_ls = { root_dir = function(...) return require("lspconfig.util").root_pattern( "tsconfig.json", "package.json", "jsconfig.json", ".git" )(...) end, single_file_support = false, settings = { typescript = { inlayHints = { includeInlayParameterNameHints = "literal", includeInlayParameterNameHintsWhenArgumentMatchesName = false, includeInlayFunctionParameterTypeHints = true, includeInlayVariableTypeHints = false, includeInlayPropertyDeclarationTypeHints = true, includeInlayFunctionLikeReturnTypeHints = true, includeInlayEnumMemberValueHints = true, }, }, javascript = { inlayHints = { includeInlayParameterNameHints = "all", includeInlayParameterNameHintsWhenArgumentMatchesName = false, includeInlayFunctionParameterTypeHints = true, includeInlayVariableTypeHints = true, includeInlayPropertyDeclarationTypeHints = true, includeInlayFunctionLikeReturnTypeHints = true, includeInlayEnumMemberValueHints = true, }, }, }, }, html = {}, yamlls = { settings = { yaml = { keyOrdering = false, }, }, }, lua_ls = { single_file_support = true, settings = { Lua = { workspace = { checkThirdParty = false, }, completion = { workspaceWord = true, callSnippet = "Both", }, hint = { enable = true, setType = false, paramType = true, paramName = "Disable", semicolon = "Disable", arrayIndex = "Disable", }, doc = { privateName = { "^_" }, }, type = { castNumberToInteger = true, }, diagnostics = { disable = { "incomplete-signature-doc", "trailing-space" }, groupSeverity = { strong = "Warning", strict = "Warning", }, groupFileStatus = { ["ambiguity"] = "Opened", ["await"] = "Opened", ["codestyle"] = "None", ["duplicate"] = "Opened", ["global"] = "Opened", ["luadoc"] = "Opened", ["redefined"] = "Opened", ["strict"] = "Opened", ["strong"] = "Opened", ["type-check"] = "Opened", ["unbalanced"] = "Opened", ["unused"] = "Opened", }, unusedLocalExclude = { "_*" }, }, format = { enable = false, defaultConfig = { indent_style = "space", indent_size = "2", continuation_indent_size = "2", }, }, }, }, }, gopls = { cmd = { "gopls", "serve" }, settings = { gopls = { analyses = { nilness = true, unusedparams = true, unusedwrite = true, useany = true, }, staticcheck = false, usePlaceholders = false, }, }, }, pylyzer = { settings = { python = { checkOnType = false, diagnostics = false, inlayHints = true, smartCompletion = true, }, }, single_file_support = true, }, }, setup = {}, }, }, }