add mini.nvim hipatterns
This commit is contained in:
parent
386191c764
commit
4e8fac0310
1 changed files with 14 additions and 0 deletions
|
@ -154,11 +154,25 @@ end)
|
||||||
|
|
||||||
-- {{{ lazy
|
-- {{{ lazy
|
||||||
later(function()
|
later(function()
|
||||||
|
local hipatterns = require('mini.hipatterns')
|
||||||
|
|
||||||
local setups = {
|
local setups = {
|
||||||
bufremove = {},
|
bufremove = {},
|
||||||
comment = {},
|
comment = {},
|
||||||
completion = {},
|
completion = {},
|
||||||
cursorword = {},
|
cursorword = {},
|
||||||
|
hipatterns = {
|
||||||
|
highlighters = {
|
||||||
|
-- Highlight standalone 'FIXME', 'HACK', 'TODO', 'NOTE'
|
||||||
|
fixme = { pattern = '%f[%w]()FIXME()%f[%W]', group = 'MiniHipatternsFixme' },
|
||||||
|
hack = { pattern = '%f[%w]()HACK()%f[%W]', group = 'MiniHipatternsHack' },
|
||||||
|
todo = { pattern = '%f[%w]()TODO()%f[%W]', group = 'MiniHipatternsTodo' },
|
||||||
|
note = { pattern = '%f[%w]()NOTE()%f[%W]', group = 'MiniHipatternsNote' },
|
||||||
|
|
||||||
|
-- Highlight hex color strings (`#rrggbb`) using that color
|
||||||
|
hex_color = hipatterns.gen_highlighter.hex_color(),
|
||||||
|
},
|
||||||
|
},
|
||||||
jump = {},
|
jump = {},
|
||||||
jump2d = {},
|
jump2d = {},
|
||||||
pairs = {},
|
pairs = {},
|
||||||
|
|
Loading…
Reference in a new issue