nvim-config/lua/plugins/init.lua

58 lines
1.1 KiB
Lua
Raw Normal View History

2024-04-08 09:26:41 +00:00
return {
{
"stevearc/conform.nvim",
2024-04-15 09:32:16 +00:00
event = "BufWritePre", -- uncomment for format on save
2024-04-08 09:26:41 +00:00
config = function()
require "configs.conform"
end,
},
2024-04-16 09:49:51 +00:00
{
"neovim/nvim-lspconfig",
config = function()
require("nvchad.configs.lspconfig").defaults()
require "configs.lspconfig"
end,
},
2024-04-08 09:26:41 +00:00
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"lua-language-server",
"stylua",
"css-lsp",
"html-lsp",
"bash-language-server",
"shfmt",
"shellcheck",
2024-10-03 12:26:44 +00:00
"ansible-language-server",
2024-04-16 09:49:51 +00:00
"ansible-lint",
2024-04-08 09:37:25 +00:00
"yaml-language-server",
2024-04-16 09:49:51 +00:00
"yamllint",
2024-04-15 09:32:16 +00:00
"yamlfmt",
2024-04-08 09:26:41 +00:00
"dockerfile-language-server",
2024-04-23 14:18:38 +00:00
"prettier",
2024-10-03 12:26:44 +00:00
"gopls",
2024-04-08 09:26:41 +00:00
},
},
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vim",
"lua",
2024-10-03 12:26:44 +00:00
"go",
2024-04-08 09:26:41 +00:00
"html",
"css",
"javascript",
"markdown",
"markdown_inline",
2024-07-23 09:15:07 +00:00
"terraform",
2024-04-08 09:26:41 +00:00
},
indent = {
enable = true,
},
},
},
}