ruby-ts-mode: Move 'self' and 'super' from constants to keywords

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--font-lock-settings):
Move 'self' and 'super' from constants to keywords.
This commit is contained in:
Dmitry Gutov 2023-01-06 03:31:41 +02:00
parent 7ede600273
commit 089b08eb3e

View file

@ -205,15 +205,15 @@ values of OVERRIDE"
:language language
:feature 'keyword
`([,@ruby-ts--keywords] @font-lock-keyword-face)
`([,@ruby-ts--keywords] @font-lock-keyword-face
(self) @font-lock-keyword-face
(super) @font-lock-keyword-face)
:language language
:feature 'constant
'((true) @font-lock-doc-markup-face
(false) @font-lock-doc-markup-face
(nil) @font-lock-doc-markup-face
(self) @font-lock-doc-markup-face
(super) @font-lock-doc-markup-face)
(nil) @font-lock-doc-markup-face)
:language language
:feature 'symbol