refactor: move mdx.nvim and neodim plugins to correct files for better organization
This commit is contained in:
3 files changed
+31
-6
No files matched your search
@@ -1,6 +1,5 @@
|
|||||||
return {
|
return {
|
||||||
|
|
||||||
-- Dimming the highlights of unused functions, variables, parameters, and more.
|
|
||||||
{
|
{
|
||||||
'zbirenbaum/neodim',
|
'zbirenbaum/neodim',
|
||||||
enabled = false,
|
enabled = false,
|
||||||
@@ -144,9 +143,4 @@ return {
|
|||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'davidmh/mdx.nvim',
|
|
||||||
config = true,
|
|
||||||
dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
@@ -136,4 +136,10 @@ return {
|
|||||||
require('treesj').setup()
|
require('treesj').setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'davidmh/mdx.nvim',
|
||||||
|
config = true,
|
||||||
|
dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
@@ -272,4 +272,29 @@ return {
|
|||||||
{ 'fL', 'zL', desc = 'Half screen to the right' },
|
{ '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,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user