|
3 | 3 |
|
4 | 4 | "completions": [ |
5 | 5 | { |
6 | | - "trigger": "num_selections", |
7 | | - "details": "Number of selections", |
| 6 | + "trigger": "auto_complete_primed", |
| 7 | + "details": "Completion popup visibility", |
8 | 8 | "kind": ["variable", "k", "key"], |
9 | 9 | }, |
10 | 10 | { |
11 | 11 | "trigger": "auto_complete_visible", |
12 | | - "details": "Completion popup visibility", |
| 12 | + "details": "Mini auto-complete or completion popup visible; completion query active", |
13 | 13 | "kind": ["variable", "k", "key"], |
14 | 14 | }, |
15 | 15 | { |
16 | | - "trigger": "selection_empty", |
17 | | - "details": "Selection is empty", |
| 16 | + "trigger": "eol_selector", |
| 17 | + "details": "Match the scope at the end of the line", |
18 | 18 | "kind": ["variable", "k", "key"], |
19 | 19 | }, |
20 | 20 | { |
21 | | - "trigger": "preceding_text", |
22 | | - "details": "Text prededing the caret", |
| 21 | + "trigger": "following_text", |
| 22 | + "details": "Text following the caret", |
23 | 23 | "kind": ["variable", "k", "key"], |
24 | 24 | }, |
25 | 25 | { |
26 | | - "trigger": "following_text", |
27 | | - "details": "Text following the caret", |
| 26 | + "trigger": "group_has_multiselect", |
| 27 | + "details": "Group has multiselected tabs", |
| 28 | + "kind": ["variable", "k", "key"], |
| 29 | + }, |
| 30 | + { |
| 31 | + "trigger": "group_has_transient_sheet", |
| 32 | + "details": "Group has a transient sheet", |
28 | 33 | "kind": ["variable", "k", "key"], |
29 | 34 | }, |
30 | 35 | { |
|
38 | 43 | "kind": ["variable", "k", "key"], |
39 | 44 | }, |
40 | 45 | { |
41 | | - "trigger": "panel_visible", |
42 | | - "details": "Panel visibility", |
| 46 | + "trigger": "has_snippet", |
| 47 | + "details": "Word before cursor expands to a snippet", |
43 | 48 | "kind": ["variable", "k", "key"], |
44 | 49 | }, |
45 | 50 | { |
46 | | - "trigger": "overlay_visible", |
47 | | - "details": "Overlay visibility", |
| 51 | + "trigger": "indented_block", |
| 52 | + // "details": "TODO", |
48 | 53 | "kind": ["variable", "k", "key"], |
49 | 54 | }, |
50 | 55 | { |
51 | | - "trigger": "setting.", |
52 | | - "details": "View setting value", |
| 56 | + "trigger": "is_javadoc", |
| 57 | + "details": "Caret in <code>/**</code> block comment", |
53 | 58 | "kind": ["variable", "k", "key"], |
54 | 59 | }, |
55 | 60 | { |
56 | | - "trigger": "popup_visible", |
57 | | - "details": "Popup visibility", |
| 61 | + "trigger": "is_recording_macro", |
| 62 | + "details": "A macro is currently being recorded", |
58 | 63 | "kind": ["variable", "k", "key"], |
59 | 64 | }, |
60 | 65 | { |
|
63 | 68 | "kind": ["variable", "k", "key"], |
64 | 69 | }, |
65 | 70 | { |
66 | | - "trigger": "text", |
67 | | - "details": "Selection text", |
| 71 | + "trigger": "last_modifying_command", |
| 72 | + "details": "Name of the last command run that modified a buffer", |
68 | 73 | "kind": ["variable", "k", "key"], |
69 | 74 | }, |
70 | 75 | { |
71 | | - "trigger": "indented_block", |
72 | | - // "details": "TODO", |
| 76 | + "trigger": "num_selections", |
| 77 | + "details": "Number of selections in current buffer", |
| 78 | + "kind": ["variable", "k", "key"], |
| 79 | + }, |
| 80 | + { |
| 81 | + "trigger": "overlay_has_focus", |
| 82 | + "details": "Overlay has focus", |
| 83 | + "kind": ["variable", "k", "key"], |
| 84 | + }, |
| 85 | + { |
| 86 | + "trigger": "overlay_name", |
| 87 | + "details": "Name of the overlay open", |
| 88 | + "kind": ["variable", "k", "key"], |
| 89 | + }, |
| 90 | + { |
| 91 | + "trigger": "overlay_visible", |
| 92 | + "details": "Overlay visibility", |
73 | 93 | "kind": ["variable", "k", "key"], |
74 | 94 | }, |
75 | 95 | { |
|
83 | 103 | "kind": ["variable", "k", "key"], |
84 | 104 | }, |
85 | 105 | { |
86 | | - "trigger": "selector", |
87 | | - "details": "Match the caret's scope", |
| 106 | + "trigger": "panel_type", |
| 107 | + "details": "Type of focused panel", |
88 | 108 | "kind": ["variable", "k", "key"], |
89 | 109 | }, |
90 | 110 | { |
91 | | - "trigger": "eol_selector", |
92 | | - "details": "Match the scope at the end of the line", |
| 111 | + "trigger": "panel_visible", |
| 112 | + "details": "Panel visibility", |
93 | 113 | "kind": ["variable", "k", "key"], |
94 | 114 | }, |
95 | 115 | { |
96 | | - "trigger": "overlay_has_focus", |
97 | | - "details": "Overlay has focus", |
| 116 | + "trigger": "popup_visible", |
| 117 | + "details": "Popup visibility", |
98 | 118 | "kind": ["variable", "k", "key"], |
99 | 119 | }, |
100 | 120 | { |
101 | | - "trigger": "overlay_name", |
102 | | - "details": "Name of the overlay open", |
| 121 | + "trigger": "preceding_text", |
| 122 | + "details": "Text prededing the caret", |
103 | 123 | "kind": ["variable", "k", "key"], |
104 | 124 | }, |
105 | 125 | { |
106 | | - "trigger": "group_has_multiselect", |
107 | | - "details": "Group has multiselected tabs", |
| 126 | + "trigger": "read_only", |
| 127 | + "details": "If the buffer is marked read only", |
108 | 128 | "kind": ["variable", "k", "key"], |
109 | 129 | }, |
110 | 130 | { |
111 | | - "trigger": "group_has_transient_sheet", |
112 | | - "details": "Group has a transient sheet", |
| 131 | + "trigger": "selection_empty", |
| 132 | + "details": "Selection is empty", |
113 | 133 | "kind": ["variable", "k", "key"], |
114 | 134 | }, |
115 | 135 | { |
116 | | - "trigger": "has_snippet", |
117 | | - "details": "Word before cursor expands to a snippet", |
| 136 | + "trigger": "selector", |
| 137 | + "details": "Match the caret's scope", |
118 | 138 | "kind": ["variable", "k", "key"], |
119 | 139 | }, |
120 | 140 | { |
121 | | - "trigger": "is_javadoc", |
122 | | - // "details": "TODO", |
| 141 | + "trigger": "setting.", |
| 142 | + "details": "View setting value", |
| 143 | + "kind": ["variable", "k", "key"], |
| 144 | + }, |
| 145 | + { |
| 146 | + "trigger": "text", |
| 147 | + "details": "Selection text", |
123 | 148 | "kind": ["variable", "k", "key"], |
124 | | - } |
| 149 | + }, |
125 | 150 | ] |
126 | 151 | } |
0 commit comments