29 lines
615 B
Lua
29 lines
615 B
Lua
|
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
|