+ { "echasnovski/mini.hipatterns", -- highlight hex colours and other matched words
+ event = { "BufReadPost", "BufNewFile", "BufWritePre" },
+ opts = function()
+ local hi = require("mini.hipatterns")
+ return {
+ highlighters = {
+ hex_color = hi.gen_highlighter.hex_color({ priority = 2000 }),
+ },
+ }
+ end,
+ },