Nvim: add missing files for various plugins

This commit is contained in:
Robert Kmieć
2023-08-17 23:43:39 +02:00
parent 0db7f3a9c2
commit 89b4343ca1
10 changed files with 274 additions and 86 deletions

View File

@@ -0,0 +1,19 @@
return {
"echasnovski/mini.nvim",
version = false,
config = function()
local hipatterns = require('mini.hipatterns')
hipatterns.setup({
highlighters = {
-- Highlight standalone 'FIXME', 'HACK', 'TODO', 'NOTE'
fixme = { pattern = '%f[%w]()EFMC 0()%f[%W]', group = 'MiniHipatternsFixme' },
hack = { pattern = '%f[%w]()Vehicle 0()%f[%W]', group = 'MiniHipatternsHack' },
todo = { pattern = '%f[%w]()CoCo 0()%f[%W]', group = 'MiniHipatternsTodo' },
note = { pattern = '%f[%w]()EneM 0()%f[%W]', group = 'MiniHipatternsNote' },
-- Highlight hex color strings (`#rrggbb`) using that color
hex_color = hipatterns.gen_highlighter.hex_color(),
},
})
end
}