diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2021-09-30 21:06:29 -0500 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-10-22 09:21:42 +0200 |
| commit | 10419ee747512a5189a6755925a456025228435b (patch) | |
| tree | 00fe9e4ff353b824450c1149db58aff292e0ba6f /queries/python/highlights.scm | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-10419ee747512a5189a6755925a456025228435b.tar nvim-treesitter-10419ee747512a5189a6755925a456025228435b.tar.gz nvim-treesitter-10419ee747512a5189a6755925a456025228435b.tar.bz2 nvim-treesitter-10419ee747512a5189a6755925a456025228435b.tar.lz nvim-treesitter-10419ee747512a5189a6755925a456025228435b.tar.xz nvim-treesitter-10419ee747512a5189a6755925a456025228435b.tar.zst nvim-treesitter-10419ee747512a5189a6755925a456025228435b.zip | |
Python: highlight interpolation escaped chars
Support for these was just added in the grammar.
Diffstat (limited to 'queries/python/highlights.scm')
| -rw-r--r-- | queries/python/highlights.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 8812d663a..97aeabb04 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -140,7 +140,11 @@ (comment) @comment (string) @string -(escape_sequence) @string.escape +[ + (escape_sequence) + "{{" + "}}" +] @string.escape ; Tokens |
