dotfiles/configfile/nvim/lua/custom/plugins.lua

29 lines
615 B
Lua
Raw Permalink Normal View History

local overrides = require("custom.configs.overrides")
---@type NvPluginSpec[]
local plugins = {
{
"neovim/nvim-lspconfig",
dependencies = {
-- format & linting
{
"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
},
-- overrde plugin configs
{
"nvim-treesitter/nvim-treesitter",
opts = overrides.treesitter,
},
}
return plugins