mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
633 B
Scheme
45 lines
633 B
Scheme
12 months ago
|
|
||
|
; comments highlighting
|
||
|
(comment) @comment
|
||
|
|
||
|
; keyword highlighting
|
||
|
(keyword_def) @keyword
|
||
|
(keyword_enum) @keyword
|
||
|
(keyword_ref) @keyword
|
||
|
|
||
|
; identify blocks and definitions
|
||
|
(definition) @function
|
||
|
|
||
|
; for identifiers
|
||
|
(identifier) @variable
|
||
|
(type) @keyword
|
||
|
|
||
|
; Highlight special types for database/data types
|
||
|
("Project" ) @type
|
||
|
("Table" ) @type
|
||
|
("TableGroup" ) @type
|
||
|
("database_type" ) @variable
|
||
|
|
||
|
; string and number constants
|
||
|
("'''") @constant.character.escape
|
||
|
(string) @string
|
||
|
(number) @constant.numeric
|
||
|
|
||
|
; brackets
|
||
|
[
|
||
|
"("
|
||
|
")"
|
||
|
"{"
|
||
|
"}"
|
||
|
"["
|
||
|
"]"
|
||
|
] @punctuation.bracket
|
||
|
|
||
|
; brackets
|
||
|
[
|
||
|
":"
|
||
|
"."
|
||
|
","
|
||
|
] @punctuation.delimiter
|
||
|
|