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

Already on GitHub? Sign in to your account

rinari-highlight-keywords shouldn't use font-lock-keyword-face #51

Closed
dgutov opened this Issue Nov 25, 2012 · 2 comments

Comments

Projects
None yet
2 participants

dgutov commented Nov 25, 2012

In a certain package I'm writing, I need a way to know quickly if the symbol on point is an actual Ruby keyword. Since ruby-mode doesn't have a separate constant for them, I have to check against the face text property, and the current highlighting throws me off.

Alternative suggestions: font-lock-builtin-face, font-lock-preprocessor-face.

@purcell purcell closed this in d785c09 Nov 25, 2012

Collaborator

purcell commented Nov 25, 2012

Done, and this looks better too. :-)

dgutov commented Nov 25, 2012

Thanks!

@asok asok referenced this issue in asok/projectile-rails Jun 5, 2014

Closed

Change keywords font-lock face. #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment