1;;; Highlighting for lua
4(self) @variable.builtin
13] @keyword.control.conditional)
19] @keyword.control.conditional
26] @keyword.control.repeat)
33] @keyword.control.repeat)
40] @keyword.control.repeat)
46] @keyword.control.repeat)
95["," "." ":" ";"] @punctuation.delimiter
105] @punctuation.bracket
111] @constant.builtin.boolean
112(nil) @constant.builtin
113(spread) @constant ;; "..."
114((identifier) @constant
115 (#match? @constant "^[A-Z][A-Z_0-9]*$"))
119 (identifier) @variable.parameter)
122(function [(function_name) (identifier)] @function)
123(function ["function" "end"] @keyword.function)
128 (property_identifier) @function .)))
130(local_function (identifier) @function)
131(local_function ["function" "end"] @keyword.function)
134 (variable_declarator (identifier) @function) (function_definition))
135(local_variable_declaration
136 (variable_declarator (identifier) @function) (function_definition))
138(function_definition ["function" "end"] @keyword.function)
142 ((identifier) @variable (method) @function.method)
143 ((_) (method) @function.method)
144 (identifier) @function
145 (field_expression (property_identifier) @function)
150(table ["{" "}"] @constructor)
153(number) @constant.numeric.integer
154(label_statement) @label
155; A bit of a tricky one, this will only match field names
156(field . (identifier) @variable.other.member (_))
160(property_identifier) @variable.other.member
163(identifier) @variable
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list