cohama / lexima.vim

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

Fix endwise rules for filetype 'sh' and 'zsh' #53

Closed pasela closed 8 years ago

pasela commented 8 years ago

'' syntax is regularized to [''] by s:regularize(rule) in lexiam.vim, so s:find_rule(char) in insmode.vim misses checking syntax.

pasela commented 8 years ago

すみません、手元だと問題なかったのですが、CI環境だとindent/sh.vimが古くてテストが通らない模様です(ubuntu/trusty環境作って確認)。 ただ普通にvimを起動して入力してもコケたテストみたいに変なインデントは入らないのが謎……。

cohama commented 8 years ago

ありがとうございます。 自分も古い Vim で試してみましたが特段変な動きではないようです。 一旦取り込んで、テストについてはどうするか別途考えます。