39 lines
596 B
Lua
39 lines
596 B
Lua
return {
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = function(_, opts)
|
|
if type(opts.ensure_installed) == "table" then
|
|
vim.list_extend(opts.ensure_installed, { "bash" })
|
|
end
|
|
end,
|
|
},
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
opts = {
|
|
servers = {
|
|
bashls = {
|
|
filetypes = { "sh", "bash", "zsh" },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"stevearc/conform.nvim",
|
|
opts = {
|
|
formatters_by_ft = {
|
|
sh = { "shfmt" },
|
|
bash = { "shfmt" },
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"mfussenegger/nvim-lint",
|
|
opts = {
|
|
linters_by_ft = {
|
|
sh = { "shellcheck" },
|
|
bash = { "shellcheck" },
|
|
},
|
|
},
|
|
},
|
|
}
|