jones-nvim-config/lua/custom/plugins.lua

62 lines
1.2 KiB
Lua
Raw Normal View History

2024-07-29 18:22:28 +00:00
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
},
{
"williamboman/mason.nvim",
opts = overrides.mason,
},
{
"nvim-treesitter/nvim-treesitter",
opts = overrides.treesitter,
dependencies = {
"JoosepAlviste/nvim-ts-context-commentstring",
},
config = function()
require("ts_context_commentstring").setup {}
end,
},
{
"nvim-tree/nvim-tree.lua",
opts = overrides.nvimtree,
},
{
"github/copilot.vim",
lazy = false,
},
{
"prettier/vim-prettier",
run = "yarn install",
},
{
"windwp/nvim-ts-autotag",
lazy = false,
config = function()
require("nvim-ts-autotag").setup()
end,
},
{ "akinsho/git-conflict.nvim", version = "*", config = true, lazy = false },
{ "f-person/git-blame.nvim", lazy = false },
}
return plugins