45 lines
1.2 KiB
Lua
45 lines
1.2 KiB
Lua
local ignoreServers = require('ignoreConfig.lspIgnoreServers')
|
|
|
|
local servers = {
|
|
jq = {},
|
|
clangd = {},
|
|
glsl_analyzer = {},
|
|
lua_ls = {
|
|
-- cmd = { ... },
|
|
-- filetypes = { ... },
|
|
-- capabilities = {},
|
|
--settings = {
|
|
-- Lua = {
|
|
-- completion = {
|
|
-- callSnippet = 'Replace',
|
|
-- },
|
|
-- -- You can toggle below to ignore Lua_LS's noisy `missing-fields` warnings
|
|
-- diagnostics = { disable = { 'missing-fields' },},
|
|
-- runtime = {
|
|
-- -- Tell the language server which version of Lua you are using (likely LuaJIT in Neovim)
|
|
-- version = 'LuaJIT',
|
|
-- },
|
|
-- workspace = {
|
|
-- -- Make the server aware of Neovim runtime files
|
|
-- library = vim.api.nvim_get_runtime_file("", true),
|
|
-- },
|
|
-- },
|
|
--},
|
|
},
|
|
|
|
marksman = {
|
|
filetypes = { "markdown", "md" },
|
|
},
|
|
--pyright = {},
|
|
}
|
|
|
|
for key,value in pairs(ignoreServers) do
|
|
servers[key]=value
|
|
--print(key, value)
|
|
end
|
|
--for key, value in pairs(servers) do
|
|
-- print(key, "=", value)
|
|
--end
|
|
|
|
return servers
|