mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 18:40:05 +08:00
61 lines
553 B
Scheme
61 lines
553 B
Scheme
|
; Keywords
|
||
|
|
||
|
(scheme) @keyword
|
||
|
|
||
|
; Methods
|
||
|
|
||
|
(method) @method
|
||
|
|
||
|
; Constants
|
||
|
|
||
|
(const_spec) @constant
|
||
|
|
||
|
; Variables
|
||
|
|
||
|
(identifier) @variable
|
||
|
|
||
|
; Fields
|
||
|
|
||
|
(pair name: (identifier) @field)
|
||
|
|
||
|
; Parameters
|
||
|
|
||
|
(query_param (key) @parameter)
|
||
|
|
||
|
; Operators
|
||
|
|
||
|
[
|
||
|
"="
|
||
|
"?"
|
||
|
"&"
|
||
|
"@"
|
||
|
] @operator
|
||
|
|
||
|
; Literals
|
||
|
|
||
|
(string) @string
|
||
|
|
||
|
(target_url) @string @text.uri
|
||
|
|
||
|
(number) @number
|
||
|
|
||
|
; (boolean) @boolean
|
||
|
|
||
|
(null) @constant.builtin
|
||
|
|
||
|
; Punctuation
|
||
|
|
||
|
[ "{{" "}}" ] @punctuation.bracket
|
||
|
|
||
|
[
|
||
|
":"
|
||
|
] @punctuation.delimiter
|
||
|
|
||
|
; Comments
|
||
|
|
||
|
(comment) @comment @spell
|
||
|
|
||
|
; Errors
|
||
|
|
||
|
(ERROR) @error
|