18 lines
824 B
Lua
18 lines
824 B
Lua
-- The language servers this config knows about.
|
|
--
|
|
-- [1] lspconfig name (see :help lspconfig-all). mason installs it under the same name.
|
|
-- requires executables that must exist before we install/enable it. This is what keeps one
|
|
-- config working on a bare server: no java, no jdtls; no python3, no pyright.
|
|
-- custom true when lua/servers/<name>.lua exists and returns overrides for it.
|
|
--
|
|
-- To add a language: add a line here. To tweak one: add lua/servers/<name>.lua and set custom = true.
|
|
return {
|
|
{ 'lua_ls', custom = true },
|
|
{ 'clangd', custom = true },
|
|
{ 'verible', custom = true },
|
|
{ 'jdtls', custom = true, requires = { 'java' } },
|
|
{ 'basedpyright', requires = { 'python3' } },
|
|
{ 'ruff', custom = true, requires = { 'python3' } },
|
|
{ 'bashls', requires = { 'npm' } },
|
|
}
|