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

23 lines
587 B
Lua
Raw Normal View History

2024-01-25 00:10:11 +01:00
local conf = { handlers = {}, required = {} }
conf.handlers["intelephense"] = {
2024-01-29 15:17:53 +01:00
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-25 00:10:11 +01:00
}
2024-01-26 13:25:09 +01:00
conf.handlers["bashls"] = {
2024-01-29 15:17:53 +01:00
settings = {
bashIde = {
shellcheckPath = vim.fn.stdpath("data") .. "mason/bin/shellcheck",
},
},
2024-01-26 13:25:09 +01:00
}
2024-01-29 15:17:53 +01:00
conf.required = { "lua_ls", "zk", "bashls" }
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