Skip to content

Commit

Permalink
Fix python highlighting (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
egelja authored Sep 2, 2024
1 parent 365a4f7 commit 7007cbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions queries/python/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,16 @@

;; "Contexts" may have internal highlighting -> low priority.

(comment) @comment
(string) @string
(escape_sequence) @escape

(interpolation
"{" @punctuation.special
(_) @embedded
"}" @punctuation.special)

(comment) @comment
((string) @doc
(.match? @doc "^(\"\"\"|r\"\"\")"))
(string) @string

(decorator) @function.special

0 comments on commit 7007cbc

Please sign in to comment.