File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -355,6 +355,17 @@ Each entry defines single highlighter as a table with the following fields:
355355
356356 - Each element is matched and highlighted with the same highlight group.
357357
358+ Note: matching does not result in overlapping (sub)matches (similarly
359+ to how [ cpo-c] ( https://neovim.io/doc/user/helptag.html?tag=cpo-c ) works). For example, with line ` xxxxxxx ` :
360+
361+ - Pattern ` xxx ` matches columns 1-3, 4-6.
362+
363+ - Pattern ` ()xx()x ` matches columns 1-2, 3-4, 5-6.
364+
365+ - Pattern ` x()xx() ` matches columns 2-3, 5-6.
366+
367+ - Pattern ` x()x()x ` matches columns 2-2, 4-4, 6-6.
368+
358369
359370- <span class =" help-syntax-keys " >\< group\> </span > ` (string|function) ` - name of highlight group to use. Can be either
360371 string or callable returning the string.
You can’t perform that action at this time.
0 commit comments