mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 11:10:05 +08:00
39 lines
757 B
Scheme
39 lines
757 B
Scheme
;; ----------------------------------------------------------------------------
|
|
;; Literals and comments
|
|
|
|
(integer) @number
|
|
(float) @float
|
|
(char) @character
|
|
(string) @string
|
|
(attribute_name) @attribute
|
|
(attribute_exclamation_mark) @attribute
|
|
|
|
(con_unit) @symbol ; unit, as in ()
|
|
|
|
(comment) @comment @spell
|
|
|
|
;; ----------------------------------------------------------------------------
|
|
;; Keywords, operators, includes
|
|
|
|
[
|
|
"Id"
|
|
"Primary"
|
|
"Foreign"
|
|
"deriving"
|
|
] @keyword
|
|
|
|
"=" @operator
|
|
|
|
|
|
;; ----------------------------------------------------------------------------
|
|
;; Functions and variables
|
|
|
|
(variable) @variable
|
|
|
|
;; ----------------------------------------------------------------------------
|
|
;; Types
|
|
|
|
(type) @type
|
|
|
|
(constructor) @constructor
|