nix/home-manager/common/software/cli/neovim/custom/plugins.lua

48 lines
826 B
Lua
Raw Normal View History

2024-02-07 05:57:42 +01:00
local overrides = require("custom.configs.overrides")
---@type NvPluginSpec[]
local plugins = {
-- Override plugin definition options
-- override plugin configs
{
"williamboman/mason.nvim",
opts = overrides.mason
},
{
"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,
},
-- vim-fugitive for integrated Git
{
"tpope/vim-fugitive",
event = "VeryLazy",
},
-- fzf fuzzyfinder
{
"vijaymarupudi/nvim-fzf",
2024-02-07 06:09:14 +01:00
event = "InsertEnter",
config = function()
require("nvim-fzf").setup()
end,
2024-02-07 05:57:42 +01:00
}
}
return plugins