vim-autoclose icon indicating copy to clipboard operation
vim-autoclose copied to clipboard

b:AutoClosePairs is affecting the global setting.

Open Profpatsch opened this issue 12 years ago • 2 comments

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.

Profpatsch avatar Apr 11 '13 18:04 Profpatsch

I can confirm this bug too.

somini avatar Sep 05 '15 11:09 somini

Whoa, I’m not even using vim anymore. :P

Profpatsch avatar Sep 05 '15 17:09 Profpatsch