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 = {
{ -- Rip Substitute
'<leader>fs',
+22
View File
@@ -1810,6 +1810,17 @@ M.auto_dark_mode = {
end,
}
M.illuminate = {
opts = {
providers = {
-- Disable LSP proovider due to deprecation warnings
-- 'lsp',
'treesitter',
'regex',
},
},
}
--- Image.nvim enabled filetypes
M.image = 'markdown'
@@ -1833,6 +1844,17 @@ M.noice = {
},
}
M.grug_far = {
opts = {
engines = {
astgrep = {
path = 'ast-grep',
},
},
engine = 'ripgrep',
},
}
--- Smear Cursor
M.smearcursor = function()
local bg = require('data.func').get_bg_color('Normal') or '#1d1d2d'
+3 -16
View File
@@ -7,25 +7,11 @@
return {
{ -- Illuminate
'ehpi/vim-illuminate',
opts = {
providers = {
-- Disable LSP proovider due to deprecation warnings
-- 'lsp',
'treesitter',
'regex',
},
},
opts = require('data.types').illuminate.opts,
},
{ -- Grug-Far
'MagicDuck/grug-far.nvim',
opts = {
engines = {
astgrep = {
path = 'ast-grep',
},
},
engine = 'ripgrep',
},
opts = require('data.types').grug_far.opts,
},
{ -- Trouble
'folke/trouble.nvim',
@@ -93,6 +79,7 @@ return {
event = 'VeryLazy',
dependencies = require('data.deps').recorder,
opts = {},
keys = require('data.keys').recorder,
},
{ -- Comment Box
'LudoPinelli/comment-box.nvim',