aboutsummaryrefslogtreecommitdiffstats
path: root/queries/proto
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2024-01-09 11:50:31 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-01-19 16:58:37 +0100
commit2f38c36294fde19a901b17589b153898b8a075e5 (patch)
tree47baae4afe1df66f7c2183a25807fd63bca50ac2 /queries/proto
parentfeat(git_config): add missing injections (diff)
downloadnvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar
nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.gz
nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.bz2
nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.lz
nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.xz
nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.zst
nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.zip
fix(highlights): improve consistency
Diffstat (limited to 'queries/proto')
-rw-r--r--queries/proto/highlights.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/queries/proto/highlights.scm b/queries/proto/highlights.scm
index 102d5c20b..6324ae3bb 100644
--- a/queries/proto/highlights.scm
+++ b/queries/proto/highlights.scm
@@ -39,11 +39,12 @@
(enum_field
(identifier) @constant)
+(string) @string
+
[
- (string)
"\"proto3\""
"\"proto2\""
-] @string
+] @string.special
(int_lit) @number