Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curly braces ( { and } ) not working #10

Closed
garymh opened this issue Jan 27, 2016 · 2 comments
Closed

Curly braces ( { and } ) not working #10

garymh opened this issue Jan 27, 2016 · 2 comments

Comments

@garymh
Copy link

garymh commented Jan 27, 2016

Hi @junegunn! Love the plugin, but I can't seem to get curly braces to work. I currently have this in my vimrc:

let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}']]

Is that the correct way to add a set of symbols?

@junegunn
Copy link
Owner

Yeah. But I've noticed that it may not work depending on the syntax of the file type. Not sure if there's a surefire solution. You'll see that the config works if you open an empty buffer with no file type and enable rainbow parens.

@garymh
Copy link
Author

garymh commented Jan 27, 2016

Ah, yeah - doesn't seem to. Ok, no prob! I was just curious.

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

No branches or pull requests

2 participants