refactor: move mdx.nvim and neodim plugins to correct files for better organization

This commit is contained in:
sankalp committed 2025-10-11 12:18:23 +05:45
1 parent 376c37a623
commit 18a6391b29
3 files changed
+31 -6

No files matched your search

-6
View File
@@ -1,6 +1,5 @@
return {
-- Dimming the highlights of unused functions, variables, parameters, and more.
{
'zbirenbaum/neodim',
enabled = false,
@@ -144,9 +143,4 @@ return {
}
end,
},
{
'davidmh/mdx.nvim',
config = true,
dependencies = { 'nvim-treesitter/nvim-treesitter' },
},
}
+6
View File
@@ -136,4 +136,10 @@ return {
require('treesj').setup()
end,
},
{
'davidmh/mdx.nvim',
config = true,
dependencies = { 'nvim-treesitter/nvim-treesitter' },
},
}
+25
View File
@@ -272,4 +272,29 @@ return {
{ 'fL', 'zL', desc = 'Half screen to the right' },
},
},
-- Dimming the highlights of unused functions, variables, parameters, and more.
{
'zbirenbaum/neodim',
enabled = false,
event = 'LspAttach',
config = function()
require('neodim').setup({
alpha = 0.5,
blend_color = nil,
hide = {
underline = true,
virtual_text = true,
signs = true,
},
regex = {
'[uU]nused',
'[nN]ever [rR]ead',
'[nN]ot [rR]ead',
},
priority = 128,
disable = {},
})
end,
},
}