cohama / lexima.vim

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

Not clear how to get past closing bracket with space rules #76

Closed stevehanson closed 6 years ago

stevehanson commented 6 years ago

The g:lexima_enable_space_rules rule conveniently adds the closing space when I use a space after the opening bracket but it's unclear how I can get past the closing bracket.

Before        Input       After         Expected
-------------------------------------------------
{ foo| }       }          { foo} }      { foo }|
-------------------------------------------------

I've tested with jiangmiao/auto-pairs and Raimondi/delimitMate, and they both have the behavior I expect when using the default configuration.

cohama commented 6 years ago

Thanks for reporting. Implemented.