nvchad_config/plugins.lua

52 lines
967 B
Lua
Raw Normal View History

2023-03-20 22:13:41 +00:00
local overrides = require("custom.configs.overrides")
---@type NvPluginSpec[]
local plugins = {
{
"neovim/nvim-lspconfig",
dependencies = {
{
"jose-elias-alvarez/null-ls.nvim",
config = function()
require "custom.configs.null-ls"
end,
},
},
config = function()
require "plugins.configs.lspconfig"
require "custom.configs.lspconfig"
end, -- Override to setup mason-lspconfig
},
{
"williamboman/mason.nvim",
opts = overrides.mason
},
{
"nvim-treesitter/nvim-treesitter",
opts = overrides.treesitter,
},
{
"nvim-tree/nvim-tree.lua",
opts = overrides.nvimtree,
},
{
"folke/which-key.nvim",
enabled = true,
},
{
"intrntbrn/awesomewm-vim-tmux-navigator"
},
{
"hashivim/vim-terraform",
config = function()
vim.g.terraform_align = 1
vim.g.terraform_fmt_on_save = 1
vim.g.hcl_align = 1
end,
},
}
return plugins