aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python/highlights.scm')
-rw-r--r--queries/python/highlights.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index e238a9a8e..ca0f84387 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -1,9 +1,10 @@
;; From tree-sitter-python licensed under MIT License
; Copyright (c) 2016 Max Brunsfeld
-; Identifier naming conventions
+; Reset highlighing in f-string interpolations
+(interpolation) @Normal
-(identifier) @Normal
+; Identifier naming conventions
((identifier) @type
(match? @type "^[A-Z]"))
((identifier) @constant