1
0
Fork 0
dotfiles/.config/nvim/lua/config/lsp.lua
2024-01-29 15:17:53 +01:00

22 lines
587 B
Lua

local conf = { handlers = {}, required = {} }
conf.handlers["intelephense"] = {
init_options = {
storagePath = os.getenv("XDG_CACHE_HOME") .. "/intelephense",
globalStoragePath = os.getenv("XDG_CONFIG_HOME") .. "/intelephense",
licenceKey = os.getenv("XDG_CONFIG_HOME") .. "/intelephense/license.txt",
},
}
conf.handlers["bashls"] = {
settings = {
bashIde = {
shellcheckPath = vim.fn.stdpath("data") .. "mason/bin/shellcheck",
},
},
}
conf.required = { "lua_ls", "zk", "bashls" }
conf.ignore = { "rust_analyzer" } -- This will be setup by rustacean.nvim
return conf