Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--
23698
-rw-r--r--
16442
-rw-r--r--
58475
-rw-r--r--
1474
-rw-r--r--
4575
-rw-r--r--
13225
-rw-r--r--
12764
-rw-r--r--
17522
-rw-r--r--
2386
-rw-r--r--
35510
-rw-r--r--
10054
-rw-r--r--
23666
-rw-r--r--
1686
-rw-r--r--
15475
-rw-r--r--
1909
cord_body (userdata) @keyword.storage.modifier) ; Contextual keywords in interface bodies (interface_declaration . [ "interface" ] @keyword.storage.type name: (identifier) @type) (anon_interface . "interface" @keyword.storage.type) (interface_body (record_declaration . [ "record" ] @keyword.storage.type . name: (identifier) @type)) (interface_body (enum_declaration . [ "enum" ] @keyword.storage.type . name: (identifier) @type.enum)) (interface_body (interface_declaration . [ "interface" ] @keyword.storage.type . name: (identifier) @type)) (interface_body (typedef . "type" @keyword.storage.type . name: (identifier) @type . "=")) (interface_body (macroexp_declaration . [ "macroexp" ] @keyword.storage.type)) (interface_body (metamethod "metamethod" @keyword.storage.modifier)) (interface_body (userdata) @keyword.storage.modifier) (enum_declaration "enum" @keyword.storage.type name: (identifier) @type.enum) (type_declaration "type" @keyword.storage.type) (type_declaration (identifier) @type) (simple_type) @type (type_index) @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"))