feat(color-tags): use nvim-colorizer instead of mini.hipatterns
nvim-colorizer provides more features and recognizes more types of color formats.
This commit is contained in:
@@ -47,18 +47,4 @@ return {
|
||||
opts = require('data.types').miniicons.opts,
|
||||
init = require('data.types').miniicons.init,
|
||||
},
|
||||
{ -- mini.hipatterns
|
||||
'echasnovski/mini.hipatterns',
|
||||
version = false,
|
||||
event = 'VeryLazy',
|
||||
opts = function()
|
||||
local hipatterns = require('mini.hipatterns')
|
||||
return {
|
||||
highlighters = {
|
||||
-- Highlight hex color strings (`#rrggbb`) using that color
|
||||
hex_color = hipatterns.gen_highlighter.hex_color(),
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user