cohama / lexima.vim

Auto close parentheses and repeat by dot dot dot...
995 stars 46 forks source link

Does not work properly after `<C-o>f` #110

Open yuki-yano opened 3 years ago

yuki-yano commented 3 years ago
{ 'char': '>', 'at': '(\%#)', 'input': '<Left><C-o>f)<Right>abc' }

Text: (<Cursor>) Input: > Output: () bc<Cursor>

{ 'char': '>', 'at': '(.*\%#.*)', 'input': '<Left><C-o>f)<Right> => {}<Left>', }

Text: (<Cursor>) Input: > Output: () <Cursor>

{ 'char': '>', 'at': '(.*\%#.*)', 'input': '<Left><C-o>f)<Right>a => {}<Left>', }

Text: (<Cursor>) Input: > Output: () => {<Cursor>}