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
				
			
		
			
				
	
	
		
			136 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
			
		
		
	
	
			136 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
 | 
						|
;; Primitives
 | 
						|
(boolean) @boolean
 | 
						|
(comment) @comment @spell
 | 
						|
((comment) @comment.documentation
 | 
						|
  (#lua-match? @comment.documentation "^[-][-][-]"))
 | 
						|
((comment) @comment.documentation
 | 
						|
  (#lua-match? @comment.documentation "^[-][-](%s?)@"))
 | 
						|
(shebang_comment) @preproc
 | 
						|
(identifier) @variable
 | 
						|
((identifier) @variable.builtin
 | 
						|
  (#eq? @variable.builtin "self"))
 | 
						|
(nil) @constant.builtin
 | 
						|
(number) @number
 | 
						|
(string) @string
 | 
						|
(table_constructor ["{" "}"] @constructor)
 | 
						|
(varargs "..." @constant.builtin)
 | 
						|
[ "," "." ":" ";" ] @punctuation.delimiter
 | 
						|
 | 
						|
(escape_sequence) @string.escape
 | 
						|
(format_specifier) @string.escape
 | 
						|
 | 
						|
;; Basic statements/Keywords
 | 
						|
[ "if" "then" "elseif" "else" ] @conditional
 | 
						|
[ "for" "while" "repeat" "until" ] @repeat
 | 
						|
"return" @keyword.return
 | 
						|
[ "in" "local" (break) (goto) "do" "end" ] @keyword
 | 
						|
(label) @label
 | 
						|
 | 
						|
;; Global isn't a real keyword, but it gets special treatment in these places
 | 
						|
(var_declaration "global" @keyword)
 | 
						|
(type_declaration "global" @keyword)
 | 
						|
(function_statement "global" @keyword)
 | 
						|
(record_declaration "global" @keyword)
 | 
						|
(enum_declaration "global" @keyword)
 | 
						|
 | 
						|
;; Ops
 | 
						|
(bin_op (op) @operator)
 | 
						|
(unary_op (op) @operator)
 | 
						|
[ "=" "as" ] @operator
 | 
						|
 | 
						|
;; Functions
 | 
						|
(function_statement
 | 
						|
  "function" @keyword.function
 | 
						|
  . name: (_) @function)
 | 
						|
(anon_function
 | 
						|
  "function" @keyword.function)
 | 
						|
(function_body "end" @keyword.function)
 | 
						|
 | 
						|
(arg name: (identifier) @parameter)
 | 
						|
 | 
						|
(function_signature
 | 
						|
  (arguments
 | 
						|
    . (arg name: (identifier) @variable.builtin))
 | 
						|
  (#eq? @variable.builtin "self"))
 | 
						|
 | 
						|
(typeargs
 | 
						|
  "<" @punctuation.bracket
 | 
						|
  . (_) @parameter
 | 
						|
  . ("," . (_) @parameter)*
 | 
						|
  . ">" @punctuation.bracket)
 | 
						|
 | 
						|
(function_call
 | 
						|
  (identifier) @function . (arguments))
 | 
						|
(function_call
 | 
						|
  (index (_) key: (identifier) @function) . (arguments))
 | 
						|
(function_call
 | 
						|
  (method_index (_) key: (identifier) @function) . (arguments))
 | 
						|
 | 
						|
;; Types
 | 
						|
(record_declaration
 | 
						|
  . "record" @keyword
 | 
						|
  name: (identifier) @type)
 | 
						|
(anon_record . "record" @keyword)
 | 
						|
(record_body
 | 
						|
  (record_declaration
 | 
						|
    . [ "record" ] @keyword
 | 
						|
    . name: (identifier) @type))
 | 
						|
(record_body
 | 
						|
  (enum_declaration
 | 
						|
    . [ "enum" ] @keyword
 | 
						|
    . name: (identifier) @type))
 | 
						|
(record_body
 | 
						|
  (typedef
 | 
						|
    . "type" @keyword
 | 
						|
    . name: (identifier) @type . "="))
 | 
						|
(record_body
 | 
						|
  (metamethod "metamethod" @keyword))
 | 
						|
(record_body
 | 
						|
  (userdata) @keyword)
 | 
						|
 | 
						|
(enum_declaration
 | 
						|
  "enum" @keyword
 | 
						|
  name: (identifier) @type)
 | 
						|
 | 
						|
(type_declaration "type" @keyword)
 | 
						|
(type_declaration (identifier) @type)
 | 
						|
(simple_type name: (identifier) @type)
 | 
						|
(type_index (identifier) @type)
 | 
						|
(type_union "|" @operator)
 | 
						|
(function_type "function" @type)
 | 
						|
 | 
						|
;; The rest of it
 | 
						|
(var_declaration
 | 
						|
  declarators: (var_declarators
 | 
						|
      (var name: (identifier) @variable)))
 | 
						|
(var_declaration
 | 
						|
  declarators: (var_declarators
 | 
						|
    (var
 | 
						|
      "<" @punctuation.bracket
 | 
						|
      . attribute: (attribute) @attribute
 | 
						|
      . ">" @punctuation.bracket)))
 | 
						|
[ "(" ")" "[" "]" "{" "}" ] @punctuation.bracket
 | 
						|
 | 
						|
;; Only highlight format specifiers in calls to string.format
 | 
						|
;; string.format('...')
 | 
						|
;(function_call
 | 
						|
;  called_object: (index
 | 
						|
;    (identifier) @base
 | 
						|
;    key: (identifier) @entry)
 | 
						|
;  arguments: (arguments .
 | 
						|
;    (string (format_specifier) @string.escape))
 | 
						|
;
 | 
						|
;  (#eq? @base "string")
 | 
						|
;  (#eq? @entry "format"))
 | 
						|
 | 
						|
;; ('...'):format()
 | 
						|
;(function_call
 | 
						|
;  called_object: (method_index
 | 
						|
;    (string (format_specifier) @string.escape)
 | 
						|
;    key: (identifier) @func-name)
 | 
						|
;    (#eq? @func-name "format"))
 | 
						|
 | 
						|
 | 
						|
(ERROR) @error
 |