Add strikethrough support

This commit is contained in:
2025-12-30 10:55:32 +00:00
parent 235eafb01c
commit 26e0b06e24
40 changed files with 1197 additions and 1184 deletions

View File

@@ -2,37 +2,37 @@
;; Strings & escapes
;; ============================================================
;; #AAD94C #000000 0 0 0 2
;; #AAD94C #000000 0 0 0 0 2
(string) @string
;; #95E6CB #000000 0 0 0 2
;; #95E6CB #000000 0 0 0 0 2
(escape_sequence) @string.escape
;; ============================================================
;; Identifiers
;; ============================================================
;; #C4B5FF #000000 0 0 0 2
;; #C4B5FF #000000 0 0 0 0 2
(capture
(identifier) @type)
;; #FFB454 #000000 0 0 0 2
;; #FFB454 #000000 0 0 0 0 2
(predicate
name: (identifier) @function.call)
;; #F29CC3 #000000 0 0 0 2
;; #F29CC3 #000000 0 0 0 0 2
(named_node
name: (identifier) @variable)
;; #F29CC3 #000000 0 0 0 2
;; #F29CC3 #000000 0 0 0 0 2
(missing_node
name: (identifier) @variable)
;; #F07178 #000000 0 0 0 2
;; #F07178 #000000 0 0 0 0 2
(field_definition
name: (identifier) @variable.member)
;; #F29CC3 #000000 0 0 0 2
;; #F29CC3 #000000 0 0 0 0 2
(negated_field
"!" @operator
(identifier) @property)
@@ -41,23 +41,23 @@
;; Comments
;; ============================================================
;; #99ADBF #000000 0 1 0 2
;; #99ADBF #000000 0 1 0 0 2
(comment) @comment @spell
;; ============================================================
;; Operators & punctuation
;; ============================================================
;; #F29668 #000000 0 0 0 2
;; #F29668 #000000 0 0 0 0 2
(quantifier) @operator
;; #BFBDB6 #000000 0 0 0 2
;; #BFBDB6 #000000 0 0 0 0 2
(predicate_type) @punctuation.special
;; #F29668 #000000 0 0 0 2
;; #F29668 #000000 0 0 0 0 2
"." @operator
;; #BFBDB6 #000000 0 0 0 2
;; #BFBDB6 #000000 0 0 0 0 2
[
"["
"]"
@@ -65,33 +65,33 @@
")"
] @punctuation.bracket
;; #BFBDB6 #000000 0 0 0 2
;; #BFBDB6 #000000 0 0 0 0 2
[
":"
"/"
] @punctuation.delimiter
;; #BFBDB6 #000000 0 0 0 2
;; #BFBDB6 #000000 0 0 0 0 2
[
"@"
"#"
] @punctuation.special
;; #BFBDB6 #000000 0 0 0 2
;; #BFBDB6 #000000 0 0 0 0 2
(predicate
"." @punctuation.special)
;; #D2A6FF #000000 0 0 0 2
;; #D2A6FF #000000 0 0 0 0 2
"_" @character.special
;; #FF8F40 #000000 0 0 0 2
;; #FF8F40 #000000 0 0 0 0 2
"MISSING" @keyword
;; ============================================================
;; Numbers
;; ============================================================
;; #B8E986 #000000 0 0 0 2
;; #B8E986 #000000 0 0 0 0 2
((parameters
(identifier) @number)
(#match? @number "^[-+]?[0-9]+(.[0-9]+)?$"))
@@ -100,7 +100,7 @@
;; Predicate parameters
;; ============================================================
;; #F29CC3 #000000 0 0 0 2
;; #F29CC3 #000000 0 0 0 0 2
((predicate
name: (identifier) @_name
parameters: (parameters
@@ -110,7 +110,7 @@
(identifier) @property))
(#match? @_name "^set$"))
;; #AAD94C #000000 0 0 0 2
;; #AAD94C #000000 0 0 0 0 2
((predicate
name: (identifier) @_name
parameters: (parameters