Match inner-most pair
CallumHoward opened this issue · 2 comments
CallumHoward commented
Thanks for a great plugin, clean and short. I would like to use this plugin to replace the built-in MatchParen, to make the inner-most braces always visible.
This works great except for the case where the cursor is on a brace:
I can fix this by adding a 'c' on line 10: (len(g:poppyhigh) > 1 ? 'r' : '').'cnbW'
, however it doesn't fix the case where the cursor is on the closing brace:
Do you have any suggestions?
I have the following config:
au cursormoved * call PoppyInit()
let g:poppyhigh = ['MatchParen']
let loaded_matchparen = 1
bounceme commented
let g:poppy_point_enable = 1
CallumHoward commented
Perfect! Thanks for the quick response!