diff options
author | Sanchayan Maity <sanchayan@sanchayanmaity.net> | 2023-08-24 10:45:20 +0530 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-08-27 10:03:24 +0900 |
commit | 874b8172a69a0a5b0973f32410036823edc0dba7 (patch) | |
tree | 504ae84da531c33ad0384dc9c38434c2fbff9e43 /runtime/queries/python | |
parent | c4728a5c4619a87b67720ca35225e2e45aaafccd (diff) | |
download | rneovim-874b8172a69a0a5b0973f32410036823edc0dba7.tar.gz rneovim-874b8172a69a0a5b0973f32410036823edc0dba7.tar.bz2 rneovim-874b8172a69a0a5b0973f32410036823edc0dba7.zip |
build(deps): bump tree-sitter-python to v0.20.4
Diffstat (limited to 'runtime/queries/python')
-rw-r--r-- | runtime/queries/python/highlights.scm | 8 |
1 files changed, 7 insertions, 1 deletions
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 [ |