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

49 lines
1.2 KiB
Lua

---@type LazySpec
return {
{
"linux-cultist/venv-selector.nvim",
optional = true,
opts = {
settings = {
search = {
workon = {
command = "$FD python$ $WORKON_HOME",
},
},
},
},
},
{
"stevearc/conform.nvim",
optional = true,
opts = {
formatters = {
shfmt = { prepend_args = { "-ci" } },
},
},
},
{
"williamboman/mason.nvim",
optional = true,
opts = {
ensure_installed = {
"bash-language-server",
},
},
},
{
"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"),
},
},
},
},
},
}