move opts and keys to their respective files

This commit is contained in:
2025-02-08 21:23:57 -05:00
parent f5293ebf19
commit 62d405a8bf
3 changed files with 30 additions and 16 deletions
+5
View File
@@ -1290,6 +1290,11 @@ M.qalc = {
}, },
} }
M.recorder = {
{ 'q', desc = ' Start Recording' },
{ 'Q', desc = ' Play Recording' },
}
M.ripsub = { M.ripsub = {
{ -- Rip Substitute { -- Rip Substitute
'<leader>fs', '<leader>fs',
+22
View File
@@ -1810,6 +1810,17 @@ M.auto_dark_mode = {
end, end,
} }
M.illuminate = {
opts = {
providers = {
-- Disable LSP proovider due to deprecation warnings
-- 'lsp',
'treesitter',
'regex',
},
},
}
--- Image.nvim enabled filetypes --- Image.nvim enabled filetypes
M.image = 'markdown' M.image = 'markdown'
@@ -1833,6 +1844,17 @@ M.noice = {
}, },
} }
M.grug_far = {
opts = {
engines = {
astgrep = {
path = 'ast-grep',
},
},
engine = 'ripgrep',
},
}
--- Smear Cursor --- Smear Cursor
M.smearcursor = function() M.smearcursor = function()
local bg = require('data.func').get_bg_color('Normal') or '#1d1d2d' local bg = require('data.func').get_bg_color('Normal') or '#1d1d2d'
+3 -16
View File
@@ -7,25 +7,11 @@
return { return {
{ -- Illuminate { -- Illuminate
'ehpi/vim-illuminate', 'ehpi/vim-illuminate',
opts = { opts = require('data.types').illuminate.opts,
providers = {
-- Disable LSP proovider due to deprecation warnings
-- 'lsp',
'treesitter',
'regex',
},
},
}, },
{ -- Grug-Far { -- Grug-Far
'MagicDuck/grug-far.nvim', 'MagicDuck/grug-far.nvim',
opts = { opts = require('data.types').grug_far.opts,
engines = {
astgrep = {
path = 'ast-grep',
},
},
engine = 'ripgrep',
},
}, },
{ -- Trouble { -- Trouble
'folke/trouble.nvim', 'folke/trouble.nvim',
@@ -93,6 +79,7 @@ return {
event = 'VeryLazy', event = 'VeryLazy',
dependencies = require('data.deps').recorder, dependencies = require('data.deps').recorder,
opts = {}, opts = {},
keys = require('data.keys').recorder,
}, },
{ -- Comment Box { -- Comment Box
'LudoPinelli/comment-box.nvim', 'LudoPinelli/comment-box.nvim',