Townk / vim-autoclose

This plugin for Vim enable an auto-close chars feature for you. For instance if you type an '(', ``autoclose`` will automatically insert a ')' and put the cursor between than.
http://townk.github.com/vim-autoclose/
503 stars 66 forks source link

Autoclosing of quotes(' ") doesn't work on macvim #45

Closed yam-liu closed 9 years ago

yam-liu commented 12 years ago

It cannot close automatically like this http://minus.com/mLEcsm6niuXDl

os x 10.8.0 macvim snapshot65

colorscheme molokai (I think it's irrelevant)

907th commented 11 years ago

Confirm... Strange behaviour in erb/haml files

ivang commented 9 years ago

It seems that this problem only arises when using certain colorschemes (e.g. "slate") that redefine the 'String' and/or 'Character' syntax regions. You can try using a different colorscheme or you can make a small change in your AutoClose.vim.

This might also fix issue #43.

yam-liu commented 9 years ago

Thanks for your reply. I will try.