LucHermitte / lh-brackets

LH's bracketing system for vim
Other
51 stars 2 forks source link

Improve context analysis of `;` mapping #15

Closed LucHermitte closed 6 years ago

LucHermitte commented 6 years ago

When typing

for(int i; i!=42 ; ++i)

lh-brackets produces

for(int i); i!=42 ; ++i)

The issue also appears when pasting through terminal. See https://vi.stackexchange.com/questions/13746/which-vim-plugin-should-i-use-if-i-want-to-surround-specific-text-with-brackets/13748?noredirect=1#comment23603_13748 and https://vi.stackexchange.com/questions/13754/bracket-is-added-in-unintended-position-when-i-paste-some-code-in-vim