aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2023-01-06 03:31:41 +0200
committerDmitry Gutov2023-01-06 03:32:46 +0200
commit089b08eb3eb6f8dc19124cd0fc0f85b7436e5150 (patch)
tree81b7073609955794318d9d4034d08ce65bf14bb0
parent7ede600273cc8ad4be09799c2ec0b8e364edcca5 (diff)
downloademacs-089b08eb3eb6f8dc19124cd0fc0f85b7436e5150.tar.gz
emacs-089b08eb3eb6f8dc19124cd0fc0f85b7436e5150.zip
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.
-rw-r--r--lisp/progmodes/ruby-ts-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/ruby-ts-mode.el b/lisp/progmodes/ruby-ts-mode.el
index 6daeb8fdb66..e7087e06d85 100644
--- a/lisp/progmodes/ruby-ts-mode.el
+++ b/lisp/progmodes/ruby-ts-mode.el
@@ -205,15 +205,15 @@ values of OVERRIDE"
205 205
206 :language language 206 :language language
207 :feature 'keyword 207 :feature 'keyword
208 `([,@ruby-ts--keywords] @font-lock-keyword-face) 208 `([,@ruby-ts--keywords] @font-lock-keyword-face
209 (self) @font-lock-keyword-face
210 (super) @font-lock-keyword-face)
209 211
210 :language language 212 :language language
211 :feature 'constant 213 :feature 'constant
212 '((true) @font-lock-doc-markup-face 214 '((true) @font-lock-doc-markup-face
213 (false) @font-lock-doc-markup-face 215 (false) @font-lock-doc-markup-face
214 (nil) @font-lock-doc-markup-face 216 (nil) @font-lock-doc-markup-face)
215 (self) @font-lock-doc-markup-face
216 (super) @font-lock-doc-markup-face)
217 217
218 :language language 218 :language language
219 :feature 'symbol 219 :feature 'symbol