bounceme/poppy.vim

Match inner-most pair

CallumHoward opened this issue · 2 comments

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.
screen shot 2017-06-15 at 10 31 55 am

This works great except for the case where the cursor is on a brace:
screen shot 2017-06-15 at 10 32 11 am

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:
screen shot 2017-06-15 at 10 33 14 am

Do you have any suggestions?

I have the following config:

au cursormoved * call PoppyInit()
let g:poppyhigh = ['MatchParen']
let loaded_matchparen = 1

let g:poppy_point_enable = 1

Perfect! Thanks for the quick response!