Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

b:AutoClosePairs is affecting the global setting. #49

Open
Profpatsch opened this issue Apr 11, 2013 · 2 comments
Open

b:AutoClosePairs is affecting the global setting. #49

Profpatsch opened this issue Apr 11, 2013 · 2 comments

Comments

@Profpatsch
Copy link

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.

@somini
Copy link

somini commented Sep 5, 2015

I can confirm this bug too.

somini added a commit to somini/vim-autoclose that referenced this issue Sep 5, 2015
@somini somini mentioned this issue Sep 5, 2015
@Profpatsch
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants