Closed stephen-huan closed 9 months ago
For the matchit support, something like
section test end test
is recognized but not an anonymous section
section end
because the regex expects a name.
-- Matchit support if vim.g.loaded_matchit and not vim.b.match_words then vim.b.match_ignorecase = 0 vim.b.match_words = table.concat( { [[\<\%(namespace\|section\)\s\+\(.\{-}\)\>:\<end\s\+\1\>]], }, ',' ) end
Should be fixed for the simple case (no nested anonymous sections) at least. Thanks for filing.
For the matchit support, something like
is recognized but not an anonymous section
because the regex expects a name.