2024-01-19 18:59:05 +01:00
|
|
|
local overrides = require "custom.configs.overrides"
|
2024-01-19 17:26:59 +01:00
|
|
|
|
|
|
|
---@type NvPluginSpec[]
|
|
|
|
local plugins = {
|
|
|
|
|
|
|
|
-- Override plugin definition options
|
|
|
|
|
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
config = function()
|
|
|
|
require "plugins.configs.lspconfig"
|
|
|
|
require "custom.configs.lspconfig"
|
|
|
|
end, -- Override to setup mason-lspconfig
|
|
|
|
},
|
|
|
|
|
|
|
|
-- override plugin configs
|
|
|
|
{
|
|
|
|
"williamboman/mason.nvim",
|
2024-01-19 18:59:05 +01:00
|
|
|
opts = overrides.mason,
|
2024-01-19 17:26:59 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
opts = overrides.treesitter,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"nvim-tree/nvim-tree.lua",
|
|
|
|
opts = overrides.nvimtree,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Install a plugin
|
|
|
|
{
|
|
|
|
"max397574/better-escape.nvim",
|
|
|
|
event = "InsertEnter",
|
|
|
|
config = function()
|
|
|
|
require("better_escape").setup()
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"stevearc/conform.nvim",
|
|
|
|
-- for users those who want auto-save conform + lazyloading!
|
|
|
|
-- event = "BufWritePre"
|
|
|
|
config = function()
|
|
|
|
require "custom.configs.conform"
|
|
|
|
end,
|
|
|
|
},
|
2024-01-19 18:59:05 +01:00
|
|
|
{
|
|
|
|
"ggandor/leap.nvim",
|
|
|
|
config = function()
|
|
|
|
require("leap").create_default_mappings()
|
|
|
|
end,
|
|
|
|
},
|
2024-01-19 17:26:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
return plugins
|