aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron <Alleyria@gmail.com>2025-12-08 11:27:09 +0100
committerGitHub <noreply@github.com>2025-12-08 11:27:09 +0100
commitbfc6c995404def9b01055df90f016d1a3be17ce5 (patch)
treef17b4ee447894f2d498387d980c958d787b3cb41
parentfeat(inko): update to v0.4.0 (#8327) (diff)
downloadnvim-treesitter-bfc6c995404def9b01055df90f016d1a3be17ce5.tar
nvim-treesitter-bfc6c995404def9b01055df90f016d1a3be17ce5.tar.gz
nvim-treesitter-bfc6c995404def9b01055df90f016d1a3be17ce5.tar.bz2
nvim-treesitter-bfc6c995404def9b01055df90f016d1a3be17ce5.tar.lz
nvim-treesitter-bfc6c995404def9b01055df90f016d1a3be17ce5.tar.xz
nvim-treesitter-bfc6c995404def9b01055df90f016d1a3be17ce5.tar.zst
nvim-treesitter-bfc6c995404def9b01055df90f016d1a3be17ce5.zip
fix(ruby): highlighting for string-literal symbols (#8317)
-rw-r--r--runtime/queries/ruby/highlights.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/queries/ruby/highlights.scm b/runtime/queries/ruby/highlights.scm
index a1a2c250d..0472df092 100644
--- a/runtime/queries/ruby/highlights.scm
+++ b/runtime/queries/ruby/highlights.scm
@@ -186,10 +186,14 @@
[
(bare_symbol)
(simple_symbol)
- (delimited_symbol)
(hash_key_symbol)
] @string.special.symbol
+(delimited_symbol
+ ":\"" @string.special.symbol
+ (string_content) @string.special.symbol
+ "\"" @string.special.symbol)
+
(regex
(string_content) @string.regexp)