nvim-config/lua/plugins/init.lua

58 lines
1.1 KiB
Lua

return {
{
"stevearc/conform.nvim",
event = "BufWritePre", -- uncomment for format on save
config = function()
require "configs.conform"
end,
},
{
"neovim/nvim-lspconfig",
config = function()
require("nvchad.configs.lspconfig").defaults()
require "configs.lspconfig"
end,
},
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"lua-language-server",
"stylua",
"css-lsp",
"html-lsp",
"bash-language-server",
"shfmt",
"shellcheck",
"ansible-language-server",
"ansible-lint",
"yaml-language-server",
"yamllint",
"yamlfmt",
"dockerfile-language-server",
"prettier",
"gopls",
"markdownlint",
},
},
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vim",
"lua",
"go",
"html",
"css",
"javascript",
"markdown",
"markdown_inline",
"terraform",
},
indent = {
enable = true,
},
},
},
}