diff --git a/lua/plugins/mini.lua b/lua/plugins/mini.lua index 11a9966..75f4d4d 100644 --- a/lua/plugins/mini.lua +++ b/lua/plugins/mini.lua @@ -47,4 +47,18 @@ 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, + }, }