Remove todo-comments in favor of mini-hipatterns
This commit is contained in:
parent
0b39bcbaaa
commit
0f18468a53
2 changed files with 11 additions and 3 deletions
|
|
@ -73,9 +73,6 @@ require('lazy').setup({
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Highlight todo, notes, etc in comments
|
|
||||||
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
|
||||||
|
|
||||||
-- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
-- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
||||||
-- init.lua. If you want these files, they are in the repository, so you can just download them and
|
-- init.lua. If you want these files, they are in the repository, so you can just download them and
|
||||||
-- place them in the correct locations.
|
-- place them in the correct locations.
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,17 @@ return { -- Collection of various small independent plugins/modules
|
||||||
-- Trim all trailing empty lines with MiniTrailspace.trim_last_lines().
|
-- Trim all trailing empty lines with MiniTrailspace.trim_last_lines().
|
||||||
require('mini.trailspace').setup()
|
require('mini.trailspace').setup()
|
||||||
|
|
||||||
|
require('mini.hipatterns').setup {
|
||||||
|
highlighters = {
|
||||||
|
fixme = { pattern = 'FIXME', group = 'MiniHipatternsFixme' },
|
||||||
|
hack = { pattern = 'HACK', group = 'MiniHipatternsHack' },
|
||||||
|
todo = { pattern = 'TODO', group = 'MiniHipatternsTodo' },
|
||||||
|
note = { pattern = 'NOTE', group = 'MiniHipatternsNote' },
|
||||||
|
see = { pattern = '[Ss][Ee][Ee]:', group = 'MiniHipatternsNote' },
|
||||||
|
warning = { pattern = 'WARNING', group = 'MiniHipatternsFixme' },
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
-- Simple and easy statusline.
|
-- Simple and easy statusline.
|
||||||
-- You could remove this setup call if you don't like it,
|
-- You could remove this setup call if you don't like it,
|
||||||
-- and try some other statusline plugin
|
-- and try some other statusline plugin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue