diff options
| author | TravonteD <tman1300@aol.com> | 2020-09-11 23:18:58 -0400 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-12 09:36:55 +0200 |
| commit | e1434ff68b1f94690c1430388fd9cb95c89c1347 (patch) | |
| tree | ce61b842a62c5ae3132a223dcd9ee7181cfa1fd6 /queries/ruby | |
| parent | Highlight definition: mention updatetime in docs (diff) | |
| download | nvim-treesitter-e1434ff68b1f94690c1430388fd9cb95c89c1347.tar nvim-treesitter-e1434ff68b1f94690c1430388fd9cb95c89c1347.tar.gz nvim-treesitter-e1434ff68b1f94690c1430388fd9cb95c89c1347.tar.bz2 nvim-treesitter-e1434ff68b1f94690c1430388fd9cb95c89c1347.tar.lz nvim-treesitter-e1434ff68b1f94690c1430388fd9cb95c89c1347.tar.xz nvim-treesitter-e1434ff68b1f94690c1430388fd9cb95c89c1347.tar.zst nvim-treesitter-e1434ff68b1f94690c1430388fd9cb95c89c1347.zip | |
- 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)
Diffstat (limited to 'queries/ruby')
| -rw-r--r-- | queries/ruby/highlights.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index fe79af423..3733279d8 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 |
