6 (shorthand_property_identifier)
7 (shorthand_property_identifier_pattern)
9 (#match? @constant "^[A-Z_][A-Z\\d_]+$"))
12((identifier) @constructor
13 (#match? @constructor "^[A-Z]"))
15((identifier) @variable.builtin
16 (#match? @variable.builtin "^(arguments|module|console|window|document)$")
19((identifier) @function.builtin
20 (#eq? @function.builtin "require")
23; Function and method definitions
24;--------------------------------
27 name: (identifier) @function)
29 name: (identifier) @function)
31 name: (property_identifier) @function.method)
34 key: (property_identifier) @function.method
35 value: [(function) (arrow_function)])
38 left: (member_expression
39 property: (property_identifier) @function.method)
40 right: [(function) (arrow_function)])
43 name: (identifier) @function
44 value: [(function) (arrow_function)])
47 left: (identifier) @function
48 right: [(function) (arrow_function)])
50; Function and method parameters
51;-------------------------------
55 (identifier) @variable.parameter)
60 (identifier) @variable.parameter))
65 (shorthand_property_identifier_pattern) @variable.parameter))
71 value: (identifier) @variable.parameter)))
76 (identifier) @variable.parameter))
81 left: (identifier) @variable.parameter))
85 parameter: (identifier) @variable.parameter)
87; Function and method calls
88;--------------------------
91 function: (identifier) @function)
94 function: (member_expression
95 property: (property_identifier) @function.method))
100(identifier) @variable
105(property_identifier) @variable.other.member
106(shorthand_property_identifier) @variable.other.member
107(shorthand_property_identifier_pattern) @variable.other.member
112(this) @variable.builtin
113(super) @variable.builtin
129(regex) @string.regexp
130(number) @constant.numeric.integer
135(template_substitution
136 "${" @punctuation.special
137 "}" @punctuation.special) @embedded
144] @punctuation.delimiter
194(ternary_expression ["?" ":"] @operator)
203] @punctuation.bracket
232] @keyword.storage.type
256] @keyword.control.import
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