From 09c2e6e0a73721128b723b9668a8316aebb3a590 Mon Sep 17 00:00:00 2001 From: TravonteD Date: Mon, 22 Jun 2020 11:18:34 -0400 Subject: [PATCH] Fix the ":" in symbols when used in pairs This fixes the colon not being highlighted when a symbol is represented in a pair like so: symbol: true --- queries/ruby/highlights.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index 21afbe809..d7d880043 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -131,6 +131,7 @@ (symbol) ] @constant +(pair key: (symbol) ":" @constant) (regex) @string.regex (escape_sequence) @string.escape (integer) @number