From e1434ff68b1f94690c1430388fd9cb95c89c1347 Mon Sep 17 00:00:00 2001 From: TravonteD Date: Fri, 11 Sep 2020 23:18:58 -0400 Subject: - Fix TSType and TSPunctuationSpecial Move class and module names to @type to be consistent with the other languages. (fixes #448) Use @punction.special for interpolation brackets. (fixes #449) --- queries/ruby/highlights.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'queries/ruby') diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index fe79af42..3733279d 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -80,7 +80,8 @@ (constant) @constant ]) -(class name: (constant) @constant) +(class name: (constant) @type) +(module name: (constant) @type) ; Identifiers [ @@ -144,8 +145,8 @@ ] @boolean (interpolation - "#{" @punctuation.bracket - "}" @punctuation.bracket) @embedded + "#{" @punctuation.special + "}" @punctuation.special) @embedded (comment) @comment -- cgit v1.2.3