perga.nvim/queries/perga/highlights.scm

24 lines
413 B
Scheme
Raw Normal View History

2024-11-20 23:40:22 -08:00
[ "fun" "λ" "forall" "∏" ] @keyword
(axiom) @keyword
2024-11-20 21:11:03 -08:00
[ "->" "=>" "→" "⇒" "," ":=" ";" ":" ] @punctuation.delimiter
2024-11-20 22:01:02 -08:00
[(star) (square)] @constant.builtin
2024-11-20 21:11:03 -08:00
(comment) @comment
2024-11-21 13:39:29 -08:00
(block_comment) @comment
2024-11-20 22:01:02 -08:00
[ "(" ")" ] @punctuation.bracket
(definition
name: (identifier) @function)
(param_block
param: (identifier)+ @variable.parameter)
(param_block
type: (expr) @type)
2024-11-21 13:39:29 -08:00
(ascription
type: (expr) @type)