aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-02-28 20:14:55 +0100
committerChristian Clason <c.clason@uni-graz.at>2023-02-28 20:27:09 +0100
commitf95ffd09ed35880c3a46ad2b968df361fa592a76 (patch)
treea820a6d2cb7ccd9b63b843386d6ebb8730d8272c /queries/python
parentUpdate parsers: markdown, markdown_inline, python, zig (diff)
downloadnvim-treesitter-f95ffd09ed35880c3a46ad2b968df361fa592a76.tar
nvim-treesitter-f95ffd09ed35880c3a46ad2b968df361fa592a76.tar.gz
nvim-treesitter-f95ffd09ed35880c3a46ad2b968df361fa592a76.tar.bz2
nvim-treesitter-f95ffd09ed35880c3a46ad2b968df361fa592a76.tar.lz
nvim-treesitter-f95ffd09ed35880c3a46ad2b968df361fa592a76.tar.xz
nvim-treesitter-f95ffd09ed35880c3a46ad2b968df361fa592a76.tar.zst
nvim-treesitter-f95ffd09ed35880c3a46ad2b968df361fa592a76.zip
python(highlights): adapt query to parser change
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 976528c48..b8b8b7b94 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -173,11 +173,7 @@
(#match? @preproc "^#!/"))
(string) @string
-[
- (escape_sequence)
- "{{"
- "}}"
-] @string.escape
+(escape_sequence) @string.escape
; doc-strings
(expression_statement (string) @spell)