refactor: consolidate plugin dependencies into a central data source

This commit is contained in:
2024-08-31 03:01:13 -04:00
parent ce3f339757
commit 0fcb172fcc
10 changed files with 79 additions and 209 deletions
+5 -7
View File
@@ -27,7 +27,7 @@ return {
},
{
"folke/trouble.nvim",
cmd = { "Trouble" },
cmd = data.cmd.trouble,
opts = {
modes = {
symbols = { -- Configure symbols mode
@@ -59,7 +59,6 @@ return {
---@module "neominimap.config.meta"
{ -- NeoMiniMap
"Isrothy/neominimap.nvim",
version = "*",
lazy = false,
keys = data.keys.minimap,
init = data.types.minimap.init(),
@@ -90,10 +89,9 @@ return {
"gen740/SmoothCursor.nvim",
event = "BufEnter",
-- lazy = true,
config = function()
---@diagnostic disable-next-line: missing-fields
require("smoothcursor").setup({})
end,
opts = {
cursor = "",
},
},
{ -- Smart Scrolloff
"tonymajestro/smart-scrolloff.nvim",
@@ -105,7 +103,7 @@ return {
{ -- Recorder
"chrisgrieser/nvim-recorder",
event = "VeryLazy",
dependencies = "rcarriga/nvim-notify",
dependencies = data.deps.recorder,
opts = {},
},
{ -- Comment Box