|
24 | 24 | </dict>
|
25 | 25 | <dict>
|
26 | 26 | <key>match</key>
|
27 |
| - <string>\b(events)\b</string> |
| 27 | + <string>[0-9]</string> |
28 | 28 | <key>name</key>
|
29 |
| - <string>module.events</string> |
| 29 | + <string>constant.numeric</string> |
30 | 30 | </dict>
|
31 | 31 | <dict>
|
32 | 32 | <key>match</key>
|
33 |
| - <string>\b(http)\b</string> |
| 33 | + <string>\{|\}</string> |
34 | 34 | <key>name</key>
|
35 |
| - <string>module.http</string> |
| 35 | + <string>constant.character.brace</string> |
36 | 36 | </dict>
|
37 | 37 | <dict>
|
38 | 38 | <key>match</key>
|
39 |
| - <string>\{|\}</string> |
| 39 | + <string>\;</string> |
40 | 40 | <key>name</key>
|
41 |
| - <string>brace</string> |
| 41 | + <string>constant.character.end</string> |
42 | 42 | </dict>
|
43 | 43 | <dict>
|
44 | 44 | <key>match</key>
|
45 |
| - <string>\;</string> |
| 45 | + <string>\(|\)</string> |
46 | 46 | <key>name</key>
|
47 |
| - <string>end</string> |
| 47 | + <string>constant.character.paren</string> |
48 | 48 | </dict>
|
49 | 49 | <dict>
|
50 | 50 | <key>match</key>
|
51 |
| - <string>\b(daemon|env|debug_points|error_log|log_not_found|include|lock_file|master_process|pid|ssl_engine|timer_resolution|user|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory)\b</string> |
| 51 | + <string>\"</string> |
52 | 52 | <key>name</key>
|
53 |
| - <string>directive.module.main</string> |
| 53 | + <string>constant.character.quote</string> |
54 | 54 | </dict>
|
55 | 55 | <dict>
|
56 | 56 | <key>match</key>
|
57 |
| - <string>\b(accept_mutex|accept_mutex_delay|debug_connection|devpoll_changes|devpoll_events|epoll_events|kqueue_changes|kqueue_events|multi_accept|rtsig_signo|rtsig_overflow_events|rtsig_overfl|ow_testrtsig_overflow_threshold|use|worker_connections)\b</string> |
| 57 | + <string>\\.*\ |\~|\~\*|\!\~|\!\~\*</string> |
58 | 58 | <key>name</key>
|
59 |
| - <string>directive.module.events</string> |
| 59 | + <string>string.regexp</string> |
60 | 60 | </dict>
|
61 | 61 | <dict>
|
62 | 62 | <key>match</key>
|
63 |
| - <string>\b(alias|client_body_in_file_only|client_body_buffer_size|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|default_type|error_page|index|internal|keepalive_timeout|large_client_header_buffers|limit_except|limit_rate|listen|location|msie_padding|msie_refresh|optimize_server_names|port_in_redirect|recursive_error_pages|root|satisfy_any|send_timeout|sendfile|server|server_name|server_names_hash_max_size|server_names_hash_bucket_size|tcp_nodelay|tcp_nopush)\b|[^.]\b(types)\b</string> |
| 63 | + <string>\"(.*)\"</string> |
64 | 64 | <key>name</key>
|
65 |
| - <string>directive.module.http</string> |
| 65 | + <string>string.quoted</string> |
66 | 66 | </dict>
|
67 | 67 | <dict>
|
68 | 68 | <key>match</key>
|
69 |
| - <string>\b(ip_hash|upstream|server)\b</string> |
| 69 | + <string>\'(.*)\'</string> |
| 70 | + <key>name</key> |
| 71 | + <string>string.quoted</string> |
| 72 | + </dict> |
| 73 | + <dict> |
| 74 | + <key>match</key> |
| 75 | + <string>\b(events)\b</string> |
| 76 | + <key>name</key> |
| 77 | + <string>constant.language.module.events</string> |
| 78 | + </dict> |
| 79 | + <dict> |
| 80 | + <key>match</key> |
| 81 | + <string>\b^(http)\b</string> |
| 82 | + <key>name</key> |
| 83 | + <string>constant.language.module.http</string> |
| 84 | + </dict> |
| 85 | + <dict> |
| 86 | + <key>match</key> |
| 87 | + <string>\b(daemon|env|debug_points|error_log|log_not_found|include|lock_file|master_process|pid|ssl_engine|timer_resolution|user|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory)\b</string> |
| 88 | + <key>name</key> |
| 89 | + <string>constant.language.directive.module.main</string> |
| 90 | + </dict> |
| 91 | + <dict> |
| 92 | + <key>match</key> |
| 93 | + <string>\b(accept_mutex|accept_mutex_delay|debug_connection|devpoll_changes|devpoll_events|epoll_events|kqueue_changes|kqueue_events|multi_accept|rtsig_signo|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|use|worker_connections)\b</string> |
70 | 94 | <key>name</key>
|
71 |
| - <string>directive.module.http.upstream</string> |
| 95 | + <string>constant.language.directive.module.events</string> |
| 96 | + </dict> |
| 97 | + <dict> |
| 98 | + <key>match</key> |
| 99 | + <string>\b(alias|client_body_in_file_only|client_body_buffer_size|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|default_type|error_page|index\ |internal|keepalive_timeout|large_client_header_buffers|limit_except|limit_rate|listen|location|msie_padding|msie_refresh|optimize_server_names|port_in_redirect|recursive_error_pages|root|satisfy_any|send_timeout|sendfile|server|server_name|server_names_hash_max_size|server_names_hash_bucket_size|tcp_nodelay|tcp_nopush|types\ )\b</string> |
| 100 | + <key>name</key> |
| 101 | + <string>constant.language.directive.module.http</string> |
72 | 102 | </dict>
|
73 | 103 | <dict>
|
74 | 104 | <key>match</key>
|
75 | 105 | <string>\b(allow|deny)\b</string>
|
76 | 106 | <key>name</key>
|
77 |
| - <string>directive.module.http.access</string> |
| 107 | + <string>constant.language.module.http.access</string> |
78 | 108 | </dict>
|
79 | 109 | <dict>
|
80 | 110 | <key>match</key>
|
81 | 111 | <string>\b(auth_basic|auth_basic_user_file)\b</string>
|
82 | 112 | <key>name</key>
|
83 |
| - <string>directive.module.http.auth_basic</string> |
| 113 | + <string>constant.language.module.http.auth_basic</string> |
84 | 114 | </dict>
|
85 | 115 | <dict>
|
86 | 116 | <key>match</key>
|
87 | 117 | <string>\b(autoindex|autoindex_exact_size|autoindex_localtime)\b</string>
|
88 | 118 | <key>name</key>
|
89 |
| - <string>directive.module.http.autoindex</string> |
| 119 | + <string>constant.language.module.http.autoindex</string> |
90 | 120 | </dict>
|
91 | 121 | <dict>
|
92 | 122 | <key>match</key>
|
93 | 123 | <string>\b(ancient_browser|ancient_browser_value|modern_browser|modern_browser_value)\b</string>
|
94 | 124 | <key>name</key>
|
95 |
| - <string>directive.module.http.browser</string> |
| 125 | + <string>constant.language.module.http.browser</string> |
96 | 126 | </dict>
|
97 | 127 | <dict>
|
98 | 128 | <key>match</key>
|
99 | 129 | <string>\b(charset|charset_map|override_charset|source_charset)\b</string>
|
100 | 130 | <key>name</key>
|
101 |
| - <string>directive.module.http.charset</string> |
| 131 | + <string>constant.language.module.http.charset</string> |
102 | 132 | </dict>
|
103 | 133 | <dict>
|
104 | 134 | <key>match</key>
|
105 | 135 | <string>\b(empty_gif)\b</string>
|
106 | 136 | <key>name</key>
|
107 |
| - <string>directive.module.http.empty_gif</string> |
| 137 | + <string>constant.language.module.http.empty_gif</string> |
108 | 138 | </dict>
|
109 | 139 | <dict>
|
110 | 140 | <key>match</key>
|
111 | 141 | <string>\b(fastcgi_index|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_intercept_errors|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_redirect_errors|fa|stcgi_storefastcgi_store_access|fastcgi_buffers|fastcgi_buffers_size|fastcgi_temp_path)\b</string>
|
112 | 142 | <key>name</key>
|
113 |
| - <string>directive.module.http.fastcgi</string> |
| 143 | + <string>constant.language.module.http.fastcgi</string> |
114 | 144 | </dict>
|
115 | 145 | <dict>
|
116 | 146 | <key>match</key>
|
117 | 147 | <string>\b(geo)\b</string>
|
118 | 148 | <key>name</key>
|
119 |
| - <string>directive.module.http.geo</string> |
| 149 | + <string>constant.language.module.http.geo</string> |
120 | 150 | </dict>
|
121 | 151 | <dict>
|
122 | 152 | <key>match</key>
|
123 | 153 | <string>\b(gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http.version|gzip_min_length|gzip_proxied|gzip_types|gzip_vary)\b</string>
|
124 | 154 | <key>name</key>
|
125 |
| - <string>directive.module.http.gzip</string> |
| 155 | + <string>constant.language.module.http.gzip</string> |
126 | 156 | </dict>
|
127 | 157 | <dict>
|
128 | 158 | <key>match</key>
|
129 | 159 | <string>\b(add_header|expires|server_tokens)\b</string>
|
130 | 160 | <key>name</key>
|
131 |
| - <string>directive.module.http.headers</string> |
| 161 | + <string>constant.language.module.http.headers</string> |
132 | 162 | </dict>
|
133 | 163 | <dict>
|
134 | 164 | <key>match</key>
|
135 | 165 | <string>\b(valid_referers)\b</string>
|
136 | 166 | <key>name</key>
|
137 |
| - <string>directive.module.http.referer</string> |
| 167 | + <string>constant.language.module.http.referer</string> |
138 | 168 | </dict>
|
139 | 169 | <dict>
|
140 | 170 | <key>match</key>
|
141 | 171 | <string>\b(limit_zone|limit_conn)\b</string>
|
142 | 172 | <key>name</key>
|
143 |
| - <string>directive.module.http.limit_zone</string> |
| 173 | + <string>constant.language.module.http.limit_zone</string> |
144 | 174 | </dict>
|
145 | 175 | <dict>
|
146 | 176 | <key>match</key>
|
147 | 177 | <string>\b(access_log|log_format)\b</string>
|
148 | 178 | <key>name</key>
|
149 |
| - <string>directive.module.http.log</string> |
| 179 | + <string>constant.language.module.http.log</string> |
150 | 180 | </dict>
|
151 | 181 | <dict>
|
152 | 182 | <key>match</key>
|
153 | 183 | <string>\b(map|map_hash_max_size|map_hash_bucket_size)\b</string>
|
154 | 184 | <key>name</key>
|
155 |
| - <string>directive.module.http.map</string> |
| 185 | + <string>constant.language.module.http.map</string> |
156 | 186 | </dict>
|
157 | 187 | <dict>
|
158 | 188 | <key>match</key>
|
159 | 189 | <string>\b(memcached_pass|memcached_connect_timeout|memcached_send_timeout|memcached_read_timeout|memcached_buffer_size|memcached_next_upstream)\b</string>
|
160 | 190 | <key>name</key>
|
161 |
| - <string>directive.module.http.memcached</string> |
| 191 | + <string>constant.language.module.http.memcached</string> |
162 | 192 | </dict>
|
163 | 193 | <dict>
|
164 | 194 | <key>match</key>
|
165 | 195 | <string>\b(proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_connect_timeout|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_ign|ore_client_abortproxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_pass|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_|redirectproxy_read_timeout|proxy_redirect|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_t|emp_pathproxy_upstream_fail_timeout|proxy_upstream_max_fails)\b</string>
|
166 | 196 | <key>name</key>
|
167 |
| - <string>directive.module.http.proxy</string> |
| 197 | + <string>constant.language.module.http.proxy</string> |
168 | 198 | </dict>
|
169 | 199 | <dict>
|
170 | 200 | <key>match</key>
|
171 |
| - <string>\b(break|if|return|rewrite|set|uninitialized_variable_warn)\b</string> |
| 201 | + <string>\b(break|if|return|reqrite|set|uninitialized_variable_warn)\b</string> |
172 | 202 | <key>name</key>
|
173 |
| - <string>directive.module.http.rewrite</string> |
| 203 | + <string>constant.language.module.http.rewrite</string> |
174 | 204 | </dict>
|
175 | 205 | <dict>
|
176 | 206 | <key>match</key>
|
177 | 207 | <string>\b(ssi|ssi_silent_errors|ssi_types|ssi_value_length)\b</string>
|
178 | 208 | <key>name</key>
|
179 |
| - <string>directive.module.http.ssi</string> |
| 209 | + <string>constant.language.module.http.ssi</string> |
180 | 210 | </dict>
|
181 | 211 | <dict>
|
182 | 212 | <key>match</key>
|
183 |
| - <string>\b(userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service)\b</string> |
184 |
| - <key>name</key> |
185 |
| - <string>directive.module.http.userid</string> |
186 |
| - </dict> |
187 |
| - <dict> |
188 |
| - <key>match</key> |
189 |
| - <string>\(.*\)</string> |
| 213 | + <string>\b(ip_hash|upstream|server)\b</string> |
190 | 214 | <key>name</key>
|
191 |
| - <string>paren</string> |
| 215 | + <string>constant.language.module.http.upstream</string> |
192 | 216 | </dict>
|
193 | 217 | <dict>
|
194 | 218 | <key>match</key>
|
195 |
| - <string>\\.*\ |\~|\~\*|\!\~|\!\~\*</string> |
| 219 | + <string>\b(userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service)\b</string> |
196 | 220 | <key>name</key>
|
197 |
| - <string>regex</string> |
| 221 | + <string>constant.language.module.http.userid</string> |
198 | 222 | </dict>
|
199 | 223 | </array>
|
200 | 224 | <key>scopeName</key>
|
201 | 225 | <string>source.nginx</string>
|
202 | 226 | <key>uuid</key>
|
203 |
| - <string>41998851-319E-4F6A-A398-31D7F98F84A3</string> |
| 227 | + <string>0C04066A-12D2-43CA-8238-00A12CE4C12D</string> |
204 | 228 | </dict>
|
205 | 229 | </plist>
|
0 commit comments