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

editing.el and global-rainbow-delimiters-mode #34

Closed
ClintRhea opened this issue Nov 15, 2017 · 2 comments
Closed

editing.el and global-rainbow-delimiters-mode #34

ClintRhea opened this issue Nov 15, 2017 · 2 comments

Comments

@ClintRhea
Copy link

Per https://github.com/Fanael/rainbow-delimiters#global-mode:

There's no global-rainbow-delimiters-mode anymore. It used to exist, but it was impossible to keep it from breaking some major modes. It's strongly recommended to use major mode hooks instead, as shown above. There's nothing stopping you from defining global-rainbow-delimiters-mode yourself, but if it breaks something, you're on your own.

@ClintRhea
Copy link
Author

I replaced the line in my editing.el with:
(add-hook 'clojure-mode-hook #'rainbow-delimiters-mode)

@ClintRhea
Copy link
Author

This is actually already solved by PR #17

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

1 participant