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
				
			
		
			
				
	
	
		
			265 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
			
		
		
	
	
			265 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
; CREDITS @stumash (stuart.mashaal@gmail.com)
 | 
						|
 | 
						|
(class_definition
 | 
						|
  name: (identifier) @type)
 | 
						|
 | 
						|
(enum_definition
 | 
						|
  name: (identifier) @type)
 | 
						|
 | 
						|
(object_definition
 | 
						|
  name: (identifier) @type)
 | 
						|
 | 
						|
(trait_definition
 | 
						|
  name: (identifier) @type)
 | 
						|
 | 
						|
(full_enum_case
 | 
						|
  name: (identifier) @type)
 | 
						|
 | 
						|
(simple_enum_case
 | 
						|
  name: (identifier) @type)
 | 
						|
 | 
						|
;; variables
 | 
						|
 | 
						|
(class_parameter 
 | 
						|
  name: (identifier) @parameter)
 | 
						|
 | 
						|
(self_type (identifier) @parameter)
 | 
						|
 | 
						|
(interpolation (identifier) @none)
 | 
						|
(interpolation (block) @none)
 | 
						|
 | 
						|
;; types
 | 
						|
 | 
						|
(type_definition
 | 
						|
  name: (type_identifier) @type.definition)
 | 
						|
 | 
						|
(type_identifier) @type
 | 
						|
 | 
						|
;; val/var definitions/declarations
 | 
						|
 | 
						|
(val_definition
 | 
						|
  pattern: (identifier) @variable)
 | 
						|
 | 
						|
(var_definition
 | 
						|
  pattern: (identifier) @variable)
 | 
						|
 | 
						|
(val_declaration
 | 
						|
  name: (identifier) @variable)
 | 
						|
 | 
						|
(var_declaration
 | 
						|
  name: (identifier) @variable)
 | 
						|
 | 
						|
; method definition
 | 
						|
 | 
						|
(function_declaration
 | 
						|
      name: (identifier) @method)
 | 
						|
 | 
						|
(function_definition
 | 
						|
      name: (identifier) @method)
 | 
						|
 | 
						|
; imports/exports
 | 
						|
 | 
						|
(import_declaration
 | 
						|
  path: (identifier) @namespace)
 | 
						|
((stable_identifier (identifier) @namespace))
 | 
						|
 | 
						|
((import_declaration
 | 
						|
  path: (identifier) @type) (#lua-match? @type "^[A-Z]"))
 | 
						|
((stable_identifier (identifier) @type) (#lua-match? @type "^[A-Z]"))
 | 
						|
 | 
						|
(export_declaration
 | 
						|
  path: (identifier) @namespace)
 | 
						|
((stable_identifier (identifier) @namespace))
 | 
						|
 | 
						|
((export_declaration
 | 
						|
  path: (identifier) @type) (#lua-match? @type "^[A-Z]"))
 | 
						|
((stable_identifier (identifier) @type) (#lua-match? @type "^[A-Z]"))
 | 
						|
 | 
						|
((namespace_selectors (identifier) @type) (#lua-match? @type "^[A-Z]"))
 | 
						|
 | 
						|
; method invocation
 | 
						|
 | 
						|
(call_expression
 | 
						|
  function: (identifier) @function.call)
 | 
						|
 | 
						|
(call_expression
 | 
						|
  function: (operator_identifier) @function.call)
 | 
						|
 | 
						|
(call_expression
 | 
						|
  function: (field_expression
 | 
						|
    field: (identifier) @method.call))
 | 
						|
 | 
						|
((call_expression
 | 
						|
   function: (identifier) @constructor)
 | 
						|
 (#lua-match? @constructor "^[A-Z]"))
 | 
						|
 | 
						|
(generic_function
 | 
						|
  function: (identifier) @function.call)
 | 
						|
 | 
						|
(interpolated_string_expression
 | 
						|
  interpolator: (identifier) @function.call)
 | 
						|
 | 
						|
; function definitions
 | 
						|
 | 
						|
(function_definition
 | 
						|
  name: (identifier) @function)
 | 
						|
 | 
						|
(parameter
 | 
						|
  name: (identifier) @parameter)
 | 
						|
 | 
						|
(binding
 | 
						|
  name: (identifier) @parameter)
 | 
						|
 | 
						|
; expressions
 | 
						|
 | 
						|
(field_expression field: (identifier) @property)
 | 
						|
(field_expression value: (identifier) @type
 | 
						|
 (#lua-match? @type "^[A-Z]"))
 | 
						|
 | 
						|
(infix_expression operator: (identifier) @operator)
 | 
						|
(infix_expression operator: (operator_identifier) @operator)
 | 
						|
(infix_type operator: (operator_identifier) @operator)
 | 
						|
(infix_type operator: (operator_identifier) @operator)
 | 
						|
 | 
						|
; literals
 | 
						|
 | 
						|
(boolean_literal) @boolean
 | 
						|
(integer_literal) @number
 | 
						|
(floating_point_literal) @float
 | 
						|
 | 
						|
[
 | 
						|
  (symbol_literal)
 | 
						|
  (string)
 | 
						|
  (character_literal)
 | 
						|
  (interpolated_string_expression)
 | 
						|
] @string
 | 
						|
 | 
						|
(interpolation "$" @punctuation.special)
 | 
						|
 | 
						|
;; keywords
 | 
						|
 | 
						|
(opaque_modifier) @type.qualifier
 | 
						|
(infix_modifier) @keyword
 | 
						|
(transparent_modifier) @type.qualifier
 | 
						|
(open_modifier) @type.qualifier
 | 
						|
 | 
						|
[
 | 
						|
  "case"
 | 
						|
  "class"
 | 
						|
  "enum"
 | 
						|
  "extends"
 | 
						|
  "derives"
 | 
						|
  "finally"
 | 
						|
;; `forSome` existential types not implemented yet
 | 
						|
;; `macro` not implemented yet
 | 
						|
  "object"
 | 
						|
  "override"
 | 
						|
  "package"
 | 
						|
  "trait"
 | 
						|
  "type"
 | 
						|
  "val"
 | 
						|
  "var"
 | 
						|
  "with"
 | 
						|
  "given"
 | 
						|
  "using"
 | 
						|
  "end"
 | 
						|
  "implicit"
 | 
						|
  "extension"
 | 
						|
  "with"
 | 
						|
] @keyword
 | 
						|
 | 
						|
[
 | 
						|
  "abstract"
 | 
						|
  "final"
 | 
						|
  "lazy"
 | 
						|
  "sealed"
 | 
						|
  "private"
 | 
						|
  "protected"
 | 
						|
] @type.qualifier
 | 
						|
 | 
						|
(inline_modifier) @storageclass
 | 
						|
 | 
						|
(null_literal) @constant.builtin
 | 
						|
 | 
						|
(wildcard) @parameter
 | 
						|
 | 
						|
(annotation) @attribute
 | 
						|
 | 
						|
;; special keywords
 | 
						|
 | 
						|
"new" @keyword.operator
 | 
						|
 | 
						|
[
 | 
						|
  "else"
 | 
						|
  "if"
 | 
						|
  "match"
 | 
						|
  "then"
 | 
						|
] @conditional
 | 
						|
 | 
						|
[
 | 
						|
 "("
 | 
						|
 ")"
 | 
						|
 "["
 | 
						|
 "]"
 | 
						|
 "{"
 | 
						|
 "}"
 | 
						|
]  @punctuation.bracket
 | 
						|
 | 
						|
[
 | 
						|
 "."
 | 
						|
 ","
 | 
						|
] @punctuation.delimiter
 | 
						|
 | 
						|
[
 | 
						|
  "do"
 | 
						|
  "for"
 | 
						|
  "while"
 | 
						|
  "yield"
 | 
						|
] @repeat
 | 
						|
 | 
						|
"def" @keyword.function
 | 
						|
 | 
						|
[
 | 
						|
 "=>"
 | 
						|
 "<-"
 | 
						|
 "@"
 | 
						|
] @operator
 | 
						|
 | 
						|
["import" "export"] @include
 | 
						|
 | 
						|
[
 | 
						|
  "try"
 | 
						|
  "catch"
 | 
						|
  "throw"
 | 
						|
] @exception
 | 
						|
 | 
						|
"return" @keyword.return
 | 
						|
 | 
						|
[
 | 
						|
  (comment)
 | 
						|
  (block_comment)
 | 
						|
] @comment @spell
 | 
						|
 | 
						|
((block_comment) @comment.documentation
 | 
						|
  (#lua-match? @comment.documentation "^/[*][*][^*].*[*]/$"))
 | 
						|
 | 
						|
;; `case` is a conditional keyword in case_block
 | 
						|
 | 
						|
(case_block
 | 
						|
  (case_clause ("case") @conditional))
 | 
						|
 | 
						|
(operator_identifier) @operator
 | 
						|
 | 
						|
((identifier) @type (#lua-match? @type "^[A-Z]"))
 | 
						|
((identifier) @variable.builtin
 | 
						|
 (#lua-match? @variable.builtin "^this$"))
 | 
						|
 | 
						|
(
 | 
						|
  (identifier) @function.builtin
 | 
						|
  (#lua-match? @function.builtin "^super$")
 | 
						|
)
 | 
						|
 | 
						|
;; Scala CLI using directives
 | 
						|
(using_directive_key) @parameter
 | 
						|
(using_directive_value) @string
 |