cohama / lexima.vim

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

leave not working after esc + insert #28

Closed cpixl closed 8 years ago

cpixl commented 8 years ago

Well, the title says everything. A simple example that can reproduce the issue is the {'char': ')', 'at': '\%#)', 'leave': 1} rule:

Before           Input         After
-----------------------------------------
|                (             (|)
-----------------------------------------
(|)              )             ()|
-----------------------------------------
         (after esc + insert)
(|)              )             ()|)
cpixl commented 8 years ago

Okay, it is well specified in the docs that this is the correct behavior. Closing the issue.