From 99ecb46592f8e9a3a8b56ff2c4fd18f1eff4a5af Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Wed, 20 Jan 2021 21:23:36 +0100 Subject: Ruby highlights: symbol -> simple_symbol, hash_key_symbol, delimited_symbol Account for https://github.com/tree-sitter/tree-sitter-ruby/pull/152 --- queries/ruby/highlights.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'queries/ruby') diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index cef7fa767..80715e67c 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -138,10 +138,12 @@ (bare_symbol) (heredoc_beginning) (heredoc_end) - (symbol) + (simple_symbol) + (delimited_symbol) + (hash_key_symbol) ] @constant -(pair key: (symbol) ":" @constant) +(pair key: (hash_key_symbol) ":" @constant) (regex) @string.regex (escape_sequence) @string.escape (integer) @number -- cgit v1.2.3-70-g09d2