What steps will reproduce the problem?
1. syn region AngleBrackets start="<" end=">" oneline
2. hi default AngleBrackets guifg=red
3. Testing on:
if ( a < b<>)
VIM considers the first angle bracket as an open region just after typing the
closing bracket of the inner region.
What is the expected output? What do you see instead?
As stated in documentation, by default VIM should not consider the ending
pattern of an inner region while evaluating the outer region, and so, as this
is about oneline regions, the first < should not pair anything since the line
finishes, and so it should be discarded as being the beginning of a region.
I'm using 'oneline' because of this expected behavior, but I'm getting an error
highlight telling that there's an outer region still open, but in truth there
is no outer region! just one that's already closed.
What version of the product are you using? On what operating system?
7.3 Included patches: 1-712
OS X Mountain Lion
Please provide any additional information below.
Original issue reported on code.google.com by obl...@gmail.com on 29 Nov 2012 at 3:29
Original issue reported on code.google.com by
obl...@gmail.com
on 29 Nov 2012 at 3:29