1
0
Fork 0
dotfiles/.config/nvim/lua/config/lsp.lua

23 lines
617 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" }
conf.ignore = { "rust_analyzer" } -- This will be setup by rustacean.nvim
return conf