mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 05:00:04 +08:00
92 lines
1005 B
Scheme
92 lines
1005 B
Scheme
[
|
|
"("
|
|
")"
|
|
] @punctuation.bracket
|
|
|
|
[
|
|
"^"
|
|
"="
|
|
":"
|
|
] @operator
|
|
|
|
[
|
|
"#"
|
|
".."
|
|
"*"
|
|
"->"
|
|
] @punctuation.special
|
|
|
|
; Entities
|
|
[
|
|
"Profile"
|
|
"Alias"
|
|
"Extension"
|
|
"Invariant"
|
|
"Instance"
|
|
"ValueSet"
|
|
"CodeSystem"
|
|
"Mapping"
|
|
"Logical"
|
|
"Resource"
|
|
"RuleSet"
|
|
] @keyword
|
|
|
|
; Metadata Keywords
|
|
[
|
|
"Parent"
|
|
"Title"
|
|
"Description"
|
|
"Id"
|
|
"Severity"
|
|
"InstanceOf"
|
|
"Usage"
|
|
"Source"
|
|
"XPath"
|
|
"Target"
|
|
] @keyword
|
|
|
|
; Rule Keywords
|
|
[
|
|
"contentReference"
|
|
"insert"
|
|
"and"
|
|
"or"
|
|
"contains"
|
|
"named"
|
|
"only"
|
|
"obeys"
|
|
"valueset"
|
|
"codes"
|
|
"from"
|
|
"include"
|
|
"exclude"
|
|
"where"
|
|
"system"
|
|
"exactly"
|
|
] @keyword.operator
|
|
|
|
; Types
|
|
[
|
|
"Reference"
|
|
"Canonical"
|
|
] @type.builtin
|
|
|
|
|
|
(sd_metadata (parent (name))) @type
|
|
(target_type (name)) @type
|
|
|
|
; Strings
|
|
(string) @string @spell
|
|
(multiline_string) @string @spell
|
|
|
|
; Constants
|
|
(strength_value) @constant
|
|
(bool) @constant.boolean
|
|
(flag) @constant
|
|
|
|
; Special Params
|
|
(code_value) @parameter
|
|
|
|
; Extras
|
|
(fsh_comment) @comment @spell
|