Some checks failed
		
		
	
	Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
				
			Detach Plugins / check (GitHub.vim) (push) Has been cancelled
				
			Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
				
			Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
				
			Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
				
			Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
				
			Detach Plugins / check (git.vim) (push) Has been cancelled
				
			Detach Plugins / check (iedit.vim) (push) Has been cancelled
				
			Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
				
			Detach Plugins / check (vim-chat) (push) Has been cancelled
				
			Detach Plugins / check (vim-cheat) (push) Has been cancelled
				
			Detach Plugins / check (vim-todo) (push) Has been cancelled
				
			Detach Plugins / check (xmake.vim) (push) Has been cancelled
				
			test / Linux (nvim, nightly) (push) Has been cancelled
				
			test / Linux (nvim, v0.3.8) (push) Has been cancelled
				
			test / Linux (nvim, v0.4.0) (push) Has been cancelled
				
			test / Linux (nvim, v0.4.2) (push) Has been cancelled
				
			test / Linux (nvim, v0.4.3) (push) Has been cancelled
				
			test / Linux (nvim, v0.4.4) (push) Has been cancelled
				
			test / Linux (nvim, v0.5.0) (push) Has been cancelled
				
			test / Linux (nvim, v0.5.1) (push) Has been cancelled
				
			test / Linux (nvim, v0.6.0) (push) Has been cancelled
				
			test / Linux (nvim, v0.6.1) (push) Has been cancelled
				
			test / Linux (nvim, v0.7.0) (push) Has been cancelled
				
			test / Linux (nvim, v0.7.2) (push) Has been cancelled
				
			test / Linux (nvim, v0.8.0) (push) Has been cancelled
				
			test / Linux (nvim, v0.8.1) (push) Has been cancelled
				
			test / Linux (nvim, v0.8.2) (push) Has been cancelled
				
			test / Linux (nvim, v0.8.3) (push) Has been cancelled
				
			test / Linux (nvim, v0.9.0) (push) Has been cancelled
				
			test / Linux (nvim, v0.9.1) (push) Has been cancelled
				
			test / Linux (true, vim, v7.4.052) (push) Has been cancelled
				
			test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
				
			test / Linux (true, vim, v7.4.629) (push) Has been cancelled
				
			test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
				
			test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
				
			test / Linux (vim, nightly) (push) Has been cancelled
				
			test / Linux (vim, v8.0.0184) (push) Has been cancelled
				
			test / Linux (vim, v8.0.1453) (push) Has been cancelled
				
			test / Linux (vim, v8.1.2269) (push) Has been cancelled
				
			test / Linux (vim, v8.2.2434) (push) Has been cancelled
				
			test / Linux (vim, v8.2.3995) (push) Has been cancelled
				
			test / Windows (nvim, nightly) (push) Has been cancelled
				
			test / Windows (nvim, v0.3.8) (push) Has been cancelled
				
			test / Windows (nvim, v0.4.2) (push) Has been cancelled
				
			test / Windows (nvim, v0.4.3) (push) Has been cancelled
				
			test / Windows (nvim, v0.4.4) (push) Has been cancelled
				
			test / Windows (nvim, v0.5.0) (push) Has been cancelled
				
			test / Windows (nvim, v0.5.1) (push) Has been cancelled
				
			test / Windows (nvim, v0.6.0) (push) Has been cancelled
				
			test / Windows (nvim, v0.6.1) (push) Has been cancelled
				
			test / Windows (nvim, v0.7.0) (push) Has been cancelled
				
			test / Windows (nvim, v0.7.2) (push) Has been cancelled
				
			test / Windows (nvim, v0.8.0) (push) Has been cancelled
				
			test / Windows (nvim, v0.8.1) (push) Has been cancelled
				
			test / Windows (nvim, v0.8.2) (push) Has been cancelled
				
			test / Windows (nvim, v0.8.3) (push) Has been cancelled
				
			test / Windows (nvim, v0.9.0) (push) Has been cancelled
				
			test / Windows (nvim, v0.9.1) (push) Has been cancelled
				
			test / Windows (vim, nightly) (push) Has been cancelled
				
			test / Windows (vim, v7.4.1185) (push) Has been cancelled
				
			test / Windows (vim, v7.4.1689) (push) Has been cancelled
				
			test / Windows (vim, v8.0.0027) (push) Has been cancelled
				
			test / Windows (vim, v8.0.1453) (push) Has been cancelled
				
			test / Windows (vim, v8.1.2269) (push) Has been cancelled
				
			test / Windows (vim, v8.2.2434) (push) Has been cancelled
				
			test / Windows (vim, v8.2.3995) (push) Has been cancelled
				
			docker / docker (push) Has been cancelled
				
			mirror / check (coding) (push) Has been cancelled
				
			mirror / check (gitee) (push) Has been cancelled
				
			mirror / check (gitlab) (push) Has been cancelled
				
			
		
			
				
	
	
		
			339 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
			
		
		
	
	
			339 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
; Preproc
 | 
						|
 | 
						|
[
 | 
						|
  "%builtins"
 | 
						|
  "%lang"
 | 
						|
] @preproc
 | 
						|
 | 
						|
; Includes
 | 
						|
 | 
						|
(import_statement [ "from" "import" ] @include module_name: (dotted_name (identifier) @namespace . ))
 | 
						|
 | 
						|
[
 | 
						|
  "as"
 | 
						|
  "use"
 | 
						|
  "mod"
 | 
						|
] @include
 | 
						|
 | 
						|
; Variables
 | 
						|
 | 
						|
(identifier) @variable
 | 
						|
 | 
						|
; Namespaces
 | 
						|
 | 
						|
(namespace_definition (identifier) @namespace)
 | 
						|
 | 
						|
(mod_item
 | 
						|
  name: (identifier) @namespace)
 | 
						|
 | 
						|
(use_list (self) @namespace)
 | 
						|
 | 
						|
(scoped_use_list (self) @namespace)
 | 
						|
 | 
						|
(scoped_identifier
 | 
						|
  path: (identifier) @namespace)
 | 
						|
 | 
						|
(scoped_identifier
 | 
						|
 (scoped_identifier
 | 
						|
  name: (identifier) @namespace))
 | 
						|
 | 
						|
(scoped_type_identifier
 | 
						|
  path: (identifier) @namespace)
 | 
						|
 | 
						|
((scoped_identifier
 | 
						|
  path: (identifier) @type)
 | 
						|
 (#lua-match? @type "^[A-Z]"))
 | 
						|
 | 
						|
((scoped_identifier
 | 
						|
    name: (identifier) @type)
 | 
						|
 (#lua-match? @type "^[A-Z]"))
 | 
						|
 | 
						|
((scoped_identifier
 | 
						|
    name: (identifier) @constant)
 | 
						|
 (#lua-match? @constant "^[A-Z][A-Z%d_]*$"))
 | 
						|
 | 
						|
((scoped_identifier
 | 
						|
  path: (identifier) @type
 | 
						|
  name: (identifier) @constant)
 | 
						|
  (#lua-match? @type "^[A-Z]")
 | 
						|
  (#lua-match? @constant "^[A-Z]"))
 | 
						|
 | 
						|
((scoped_type_identifier
 | 
						|
  path: (identifier) @type
 | 
						|
  name: (type_identifier) @constant)
 | 
						|
  (#lua-match? @type "^[A-Z]")
 | 
						|
  (#lua-match? @constant "^[A-Z]"))
 | 
						|
 | 
						|
(scoped_use_list
 | 
						|
  path: (identifier) @namespace)
 | 
						|
 | 
						|
(scoped_use_list
 | 
						|
  path: (scoped_identifier
 | 
						|
          (identifier) @namespace))
 | 
						|
 | 
						|
(use_list (scoped_identifier (identifier) @namespace . (_)))
 | 
						|
 | 
						|
(use_list (identifier) @type (#lua-match? @type "^[A-Z]"))
 | 
						|
 | 
						|
(use_as_clause alias: (identifier) @type (#lua-match? @type "^[A-Z]"))
 | 
						|
 | 
						|
; Keywords
 | 
						|
 | 
						|
[
 | 
						|
  ; 0.x
 | 
						|
  "using"
 | 
						|
  "namespace"
 | 
						|
  "struct"
 | 
						|
  "let"
 | 
						|
  "const"
 | 
						|
  "local"
 | 
						|
  "rel"
 | 
						|
  "abs"
 | 
						|
  "dw"
 | 
						|
  "alloc_locals"
 | 
						|
  (inst_ret)
 | 
						|
  "with_attr"
 | 
						|
  "with"
 | 
						|
  "call"
 | 
						|
  "nondet"
 | 
						|
 | 
						|
  ; 1.0
 | 
						|
  "type"
 | 
						|
  "impl"
 | 
						|
  "implicits"
 | 
						|
  "of"
 | 
						|
  "ref"
 | 
						|
  "mut"
 | 
						|
  "trait"
 | 
						|
  "enum"
 | 
						|
] @keyword
 | 
						|
 | 
						|
[
 | 
						|
  "func"
 | 
						|
  "fn"
 | 
						|
  "end"
 | 
						|
] @keyword.function
 | 
						|
 | 
						|
"return" @keyword.return
 | 
						|
 | 
						|
[
 | 
						|
  "cast"
 | 
						|
  "new"
 | 
						|
  "and"
 | 
						|
] @keyword.operator
 | 
						|
 | 
						|
[
 | 
						|
  "tempvar"
 | 
						|
  "extern"
 | 
						|
] @storageclass
 | 
						|
 | 
						|
[
 | 
						|
  "if"
 | 
						|
  "else"
 | 
						|
  "match"
 | 
						|
] @conditional
 | 
						|
 | 
						|
[
 | 
						|
  "loop"
 | 
						|
] @repeat
 | 
						|
 | 
						|
[
 | 
						|
  "assert"
 | 
						|
  "static_assert"
 | 
						|
  "nopanic"
 | 
						|
] @exception
 | 
						|
 | 
						|
; Fields
 | 
						|
 | 
						|
(implicit_arguments (typed_identifier (identifier) @field))
 | 
						|
 | 
						|
(member_expression "." (identifier) @field)
 | 
						|
 | 
						|
(call_expression (assignment_expression left: (identifier) @field))
 | 
						|
 | 
						|
(tuple_expression (assignment_expression left: (identifier) @field))
 | 
						|
 | 
						|
(field_identifier) @field
 | 
						|
 | 
						|
(shorthand_field_initializer (identifier) @field)
 | 
						|
 | 
						|
; Parameters
 | 
						|
 | 
						|
(arguments (typed_identifier (identifier) @parameter))
 | 
						|
 | 
						|
(call_expression (tuple_expression (assignment_expression left: (identifier) @parameter)))
 | 
						|
 | 
						|
(return_type (tuple_type (named_type . (identifier) @parameter)))
 | 
						|
 | 
						|
(parameter (identifier) @parameter)
 | 
						|
 | 
						|
; Builtins
 | 
						|
 | 
						|
(builtin_directive (identifier) @variable.builtin)
 | 
						|
(lang_directive (identifier) @variable.builtin)
 | 
						|
 | 
						|
[
 | 
						|
  "ap"
 | 
						|
  "fp"
 | 
						|
  (self)
 | 
						|
] @variable.builtin
 | 
						|
 | 
						|
; Functions
 | 
						|
 | 
						|
(function_definition "func" (identifier) @function)
 | 
						|
(function_definition "fn" (identifier) @function)
 | 
						|
(function_signature "fn" (identifier) @function)
 | 
						|
(extern_function_statement (identifier) @function)
 | 
						|
 | 
						|
(call_expression
 | 
						|
  function: (identifier) @function.call)
 | 
						|
 | 
						|
(call_expression
 | 
						|
  function: (scoped_identifier
 | 
						|
              (identifier) @function.call .))
 | 
						|
 | 
						|
(call_expression
 | 
						|
  function: (field_expression
 | 
						|
    field: (field_identifier) @function.call))
 | 
						|
 | 
						|
[
 | 
						|
  "jmp"
 | 
						|
] @function.builtin
 | 
						|
 | 
						|
; Types
 | 
						|
 | 
						|
(struct_definition . (identifier) @type (typed_identifier (identifier) @field)?)
 | 
						|
 | 
						|
(named_type (identifier) @type .)
 | 
						|
 | 
						|
[
 | 
						|
  (builtin_type)
 | 
						|
  (primitive_type)
 | 
						|
] @type.builtin
 | 
						|
 | 
						|
((identifier) @type
 | 
						|
  (#lua-match? @type "^[A-Z][a-zA-Z0-9_]*$"))
 | 
						|
 | 
						|
(type_identifier) @type
 | 
						|
 | 
						|
; Constants
 | 
						|
 | 
						|
((identifier) @constant
 | 
						|
  (#lua-match? @constant "^[A-Z_][A-Z0-9_]*$"))
 | 
						|
 | 
						|
(enum_variant
 | 
						|
  name: (identifier) @constant)
 | 
						|
 | 
						|
(call_expression
 | 
						|
  function: (scoped_identifier
 | 
						|
    "::"
 | 
						|
    name: (identifier) @constant)
 | 
						|
  (#lua-match? @constant "^[A-Z]"))
 | 
						|
 | 
						|
((match_arm
 | 
						|
   pattern: (match_pattern (identifier) @constant))
 | 
						|
 (#lua-match? @constant "^[A-Z]"))
 | 
						|
 | 
						|
((match_arm
 | 
						|
   pattern: (match_pattern
 | 
						|
     (scoped_identifier
 | 
						|
       name: (identifier) @constant)))
 | 
						|
 (#lua-match? @constant "^[A-Z]"))
 | 
						|
 | 
						|
((identifier) @constant.builtin
 | 
						|
 (#any-of? @constant.builtin "Some" "None" "Ok" "Err"))
 | 
						|
 | 
						|
; Constructors
 | 
						|
 | 
						|
(unary_expression "new" (call_expression . (identifier) @constructor))
 | 
						|
 | 
						|
((call_expression . (identifier) @constructor)
 | 
						|
  (#lua-match? @constructor "^%u"))
 | 
						|
 | 
						|
; Attributes
 | 
						|
 | 
						|
(decorator "@" @attribute (identifier) @attribute)
 | 
						|
 | 
						|
(attribute_item (identifier) @function.macro)
 | 
						|
 | 
						|
(attribute_item (scoped_identifier (identifier) @function.macro .))
 | 
						|
 | 
						|
; Labels
 | 
						|
 | 
						|
(label . (identifier) @label)
 | 
						|
 | 
						|
(inst_jmp_to_label "jmp" . (identifier) @label)
 | 
						|
 | 
						|
(inst_jnz_to_label "jmp" . (identifier) @label)
 | 
						|
 | 
						|
; Operators
 | 
						|
 | 
						|
[
 | 
						|
  "+"
 | 
						|
  "-"
 | 
						|
  "*"
 | 
						|
  "/"
 | 
						|
  "**"
 | 
						|
  "=="
 | 
						|
  "!="
 | 
						|
  "&"
 | 
						|
  "="
 | 
						|
  "++"
 | 
						|
  "+="
 | 
						|
  "@"
 | 
						|
  "!"
 | 
						|
  "~"
 | 
						|
  ".."
 | 
						|
  "&&"
 | 
						|
  "||"
 | 
						|
  "^"
 | 
						|
  "<"
 | 
						|
  "<="
 | 
						|
  ">"
 | 
						|
  ">="
 | 
						|
  "<<"
 | 
						|
  ">>"
 | 
						|
  "%"
 | 
						|
  "-="
 | 
						|
  "*="
 | 
						|
  "/="
 | 
						|
  "%="
 | 
						|
  "&="
 | 
						|
  "|="
 | 
						|
  "^="
 | 
						|
  "<<="
 | 
						|
  ">>="
 | 
						|
  "?"
 | 
						|
] @operator
 | 
						|
 | 
						|
; Literals
 | 
						|
 | 
						|
(number) @number
 | 
						|
 | 
						|
(boolean) @boolean
 | 
						|
 | 
						|
[
 | 
						|
  (string)
 | 
						|
  (short_string)
 | 
						|
] @string
 | 
						|
 | 
						|
; Punctuation
 | 
						|
 | 
						|
(attribute_item "#" @punctuation.special)
 | 
						|
 | 
						|
[ "." "," ":" ";" "->" "=>" "::" ] @punctuation.delimiter
 | 
						|
 | 
						|
[ "{" "}" "(" ")" "[" "]" "%{" "%}" ] @punctuation.bracket
 | 
						|
 | 
						|
(type_parameters [ "<" ">" ] @punctuation.bracket)
 | 
						|
 | 
						|
(type_arguments [ "<" ">" ] @punctuation.bracket)
 | 
						|
 | 
						|
; Comment
 | 
						|
 | 
						|
(comment) @comment @spell
 | 
						|
 | 
						|
; Errors
 | 
						|
 | 
						|
(ERROR) @error
 |