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

23 lines
623 B
Lua
Raw Normal View History

2024-01-25 00:10:11 +01:00
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',
}
}
2024-01-26 13:25:09 +01:00
conf.handlers["bashls"] = {
settings = {
bashIde = {
shellcheckPath = vim.fn.stdpath "data" .. "mason/bin/shellcheck"
}
}
}
2024-01-28 15:04:25 +01:00
conf.required = { "lua_ls", "zk" }
2024-01-25 00:10:11 +01:00
2024-01-28 13:45:35 +01:00
conf.ignore = { "rust_analyzer" } -- This will be setup by rustacean.nvim
2024-01-25 00:10:11 +01:00
return conf