eschulte / rinari

Rinari Is Not A Rails IDE (it is an Emacs minor mode for Rails)
http://rinari.rubyforge.org
GNU General Public License v3.0
412 stars 68 forks source link

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

Closed dgutov closed 11 years ago

dgutov commented 11 years ago

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 commented 11 years ago

Done, and this looks better too. :-)

dgutov commented 11 years ago

Thanks!