fix: align line continuation highlights (#8146)

These should be `@punctuation.special`. Added the highlight for python,
cylc, and make. Corrected it for earthfile and matlab.
This commit is contained in:
Riley Bruins 2025-09-21 16:59:47 -07:00 committed by GitHub
parent bd99d6bd2b
commit 6ac9f2e512
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 5 deletions

View file

@ -32,6 +32,8 @@
(graph_parenthesis)
] @punctuation.bracket
(line_continuation) @punctuation.special
[
"\""
"\"\"\""

View file

@ -126,4 +126,4 @@
"=" @operator
(line_continuation) @operator
(line_continuation) @punctuation.special

View file

@ -168,3 +168,5 @@
"file"
"value"
] @function.builtin)
"\\" @punctuation.special

View file

@ -211,10 +211,9 @@
(#eq? @boolean "false"))
; Comments
[
(comment)
(line_continuation)
] @comment @spell
(comment) @comment @spell
(line_continuation) @punctuation.special
((comment) @keyword.directive
(#lua-match? @keyword.directive "^%%%% "))

View file

@ -247,6 +247,8 @@
"{" @punctuation.special
"}" @punctuation.special)
(line_continuation) @punctuation.special
(type_conversion) @function.macro
[