This repository has no description
1return {
2 "AstroNvim/astrolsp",
3 -- we must use the function override because table merging
4 -- does not play nicely with list-like tables
5 ---@param opts AstroLSPOpts
6 opts = function(plugin, opts)
7 -- safely extend the servers list
8 opts.servers = opts.servers or {}
9 vim.list_extend(opts.servers, {
10 "pyright",
11 "clangd",
12 "bashls",
13 "gopls",
14 "taplo",
15 "marksman",
16 "pyright",
17 "nil_ls",
18 "terraformls",
19 "lua_ls",
20 "ruff_lsp",
21 "rust_analyzer",
22 "gopls",
23 "yamlls",
24 "denols",
25 "ocamllsp",
26 -- add more servers as needed...
27 })
28 opts.formatting = opts.formatting or {}
29 opts.formatting.format_on_save = false
30 end,
31}