From 874b8172a69a0a5b0973f32410036823edc0dba7 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 24 Aug 2023 10:45:20 +0530 Subject: build(deps): bump tree-sitter-python to v0.20.4 --- runtime/queries/python/highlights.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'runtime/queries/python') diff --git a/runtime/queries/python/highlights.scm b/runtime/queries/python/highlights.scm index c18b748674..04398668e9 100644 --- a/runtime/queries/python/highlights.scm +++ b/runtime/queries/python/highlights.scm @@ -27,6 +27,8 @@ "credits" "license")) +"_" @constant.builtin ; match wildcard + ((attribute attribute: (identifier) @field) (#lua-match? @field "^[%l_].*$")) @@ -155,7 +157,10 @@ (#lua-match? @preproc "^#!/")) (string) @string -(escape_sequence) @string.escape +[ + (escape_sequence) + (escape_interpolation) +] @string.escape ; doc-strings @@ -241,6 +246,7 @@ "print" "with" "as" + "type" ] @keyword [ -- cgit