Townk/vim-autoclose — Issue #21: Can't configure AutoClosePairs in .vimrc
Author: alexis
Created: 2012-02-10 10:04:35+00:00
State: open

Hi!

I tried to add the following line:

let b:AutoClosePairs = AutoClose#DefaultPairsModified("", "<")

to my .vimrc file to turn off autoclosing of angle brackets, but it resulted in "E117: Unknown function: AutoClose#DefaultPairsModified" error message. Ok, .vimrc gets loaded before plugins....

Then I tried to add it as autocmd:

autocmd FileType *
\ let b:AutoClosePairs = AutoClose#DefaultPairsModified("", "<")

This one mostly worked, but not for my ruby files, which were my primary goal.

Any ideas how I could configure this for ruby language?