--- Available LSP goes here --- Check https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md --- for available server and name local M = {} M.servers = { "ast_grep", "bashls", -- Bash "clangd", -- C/C++ "cssls", -- CSS "denols", -- Deno -- "cmake", -- CMake "eslint", -- JavaScript "gopls", -- Go "hls", -- Haskell "html", -- HTML "jsonls", -- JSON "lua_ls", -- Lua "markdown_oxide", -- Markdown "omnisharp", -- C# & F# "powershell_es", -- PowerShell "pyright", -- Python "rust_analyzer", -- Rust "svelte", -- Svelte "svlangserver", -- SystemVerilog "tailwindcss", -- TailwindCSS "taplo", -- TOML "ts_ls", -- TypeScript "vimls", -- vimscript "yamlls", -- YAML } M.server_config = { lua_ls = { capabilities = vim.lsp.protocol.make_client_capabilities(), settings = { Lua = { diagnostics = { globals = { "vim" } }, }, }, }, } return M