1
0
Fork 0
dotfiles/common/.config/nvim/lua/plugins/language.lua

53 lines
1.7 KiB
Lua

return {
-- TODO: remove this if https://github.com/LazyVim/LazyVim/pull/5335 is merged
{ "towolf/vim-helm", enabled = false },
{ "qvalentin/helm-ls.nvim", ft = "helm" },
-- TODO: remove this if https://github.com/LazyVim/LazyVim/pull/5829 is merged
{
"linux-cultist/venv-selector.nvim",
optional = true,
enabled = true,
},
{
"stevearc/conform.nvim",
optional = true,
opts = {
formatters = {
shfmt = { prepend_args = { "-ci" } },
},
},
},
{
"neovim/nvim-lspconfig",
optional = true,
opts = {
servers = {
intelephense = {
init_options = {
storagePath = os.getenv("XDG_CACHE_HOME") .. "/intelephense",
globalStoragePath = os.getenv("XDG_CONFIG_HOME") .. "/intelephense",
licenceKey = require("lib").get_secret("intelephense"),
},
},
basedpyright = {
settings = {
basedpyright = {
disableOrganizeImports = true,
-- analysis = {
-- diagnosticMode = "workspace",
-- },
},
},
},
bashls = {
settings = {
bashIde = {
explainshellEndpoint = "https://explainshell.com/",
enableSourceErrorDiagnostics = true,
},
},
},
},
},
},
}