vim-autoclose
vim-autoclose copied to clipboard
b:AutoClosePairs is affecting the global setting.
I’ve got
autocmd FileType clojure let b:AutoClosePairs = AutoClose#DefaultPairsModified("", "'")
in my `ftplugin/clojure.vim'.
' expands to '' in every buffer, but as soon as I change to a .clj file it doesn’t expand anymore, in every buffer.
By the way: Is there a way to use the clojure.vim file as intended, without the redundant autocmd?
let b:AutoClosePairs = …
doesn’t seem to work.
I can confirm this bug too.
Whoa, I’m not even using vim anymore. :P