Add directive highlighting for the limit_req and limit_conn modules.

This commit is contained in:
Judson Neer 2017-03-23 17:45:33 -07:00
parent eaa58ccc4d
commit a90f3d49bf
1 changed files with 6 additions and 3 deletions

View File

@ -164,8 +164,12 @@
'name': 'support.function.directive.module.http.referer' 'name': 'support.function.directive.module.http.referer'
} }
{ {
'match': '\\b(limit_zone|limit_conn)\\b' 'match': '\\b(limit_conn|limit_conn_log_level|limit_conn_status|limit_conn_zone|limit_zone)\\b'
'name': 'support.function.directive.module.http.limit_zone' 'name': 'support.function.directive.module.http.limit_conn'
}
{
'match': '\\b(limit_req|limit_req_log_level|limit_req_status|limit_req_zone)\\b'
'name': 'support.function.directive.module.http.limit_req'
} }
{ {
'match': '\\b(access_log|log_format)\\b' 'match': '\\b(access_log|log_format)\\b'
@ -208,4 +212,3 @@
'name': 'support.function.directive.module.http.lua' 'name': 'support.function.directive.module.http.lua'
} }
] ]