Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/typst/highlights.scm')
-rw-r--r--runtime/queries/typst/highlights.scm81
1 files changed, 0 insertions, 81 deletions
diff --git a/runtime/queries/typst/highlights.scm b/runtime/queries/typst/highlights.scm
deleted file mode 100644
index 7b1b7c72..00000000
--- a/runtime/queries/typst/highlights.scm
+++ /dev/null
@@ -1,81 +0,0 @@
-; CONTROL
-(let "let" @keyword.storage.type)
-(branch ["if" "else"] @keyword.control.conditional)
-(while "while" @keyword.control.repeat)
-(for ["for" "in"] @keyword.control.repeat)
-(import "import" @keyword.control.import)
-(as "as" @keyword.operator)
-(include "include" @keyword.control.import)
-(show "show" @keyword.control)
-(set "set" @keyword.control)
-(return "return" @keyword.control)
-(flow ["break" "continue"] @keyword.control)
-
-; OPERATOR
-(in ["in" "not"] @keyword.operator)
-(context "context" @keyword.control)
-(and "and" @keyword.operator)
-(or "or" @keyword.operator)
-(not "not" @keyword.operator)
-(sign ["+" "-"] @operator)
-(add "+" @operator)
-(sub "-" @operator)
-(mul "*" @operator)
-(div "/" @operator)
-(cmp ["==" "<=" ">=" "!=" "<" ">"] @operator)
-(fraction "/" @operator)
-(fac "!" @operator)
-(attach ["^" "_"] @operator)
-(wildcard) @operator
-
-; VALUE
-(raw_blck "```" @operator) @markup.raw.block
-(raw_span "`" @operator) @markup.raw.block
-(raw_blck lang: (ident) @tag)
-(label) @tag
-(ref) @tag
-(number) @constant.numeric
-(string) @string
-(content ["[" "]"] @operator)
-(bool) @constant.builtin.boolean
-(none) @constant.builtin
-(auto) @constant.builtin
-(ident) @variable
-
-; FUNCTIONS
-(call
- item: (ident) @function)
-(call
- item: (field field: (ident) @function.method))
-(tagged field: (ident) @tag)
-(field field: (ident) @tag)
-(comment) @comment
-
-; MARKUP
-(item "-" @markup.list)
-(term ["/" ":"] @markup.list)
-(heading "=" @markup.heading.marker) @markup.heading.1
-(heading "==" @markup.heading.marker) @markup.heading.2
-(heading "===" @markup.heading.marker) @markup.heading.3
-(heading "====" @markup.heading.marker) @markup.heading.4
-(heading "=====" @markup.heading.marker) @markup.heading.5
-(heading "======" @markup.heading.marker) @markup.heading.6
-(url) @tag
-(emph) @markup.italic
-(strong) @markup.bold
-(symbol) @constant.character
-(shorthand) @constant.builtin
-(quote) @markup.quote
-(align) @operator
-(letter) @constant.character
-(linebreak) @constant.builtin
-
-(math "$" @operator)
-"#" @operator
-"end" @operator
-
-(escape) @constant.character.escape
-["(" ")" "{" "}"] @punctuation.bracket
-["," ";" ".." ":" "sep"] @punctuation.delimiter
-"assign" @punctuation
-(field "." @punctuation)