Merge pull request #17 from lordjabez/feature/add-conn-and-req-directives

Add directive highlighting for the limit_req and limit_conn modules.
This commit is contained in:
z2++ 2017-03-25 18:05:16 +09:00 committed by GitHub
commit 5891a5dbbd
1 changed files with 6 additions and 3 deletions

View File

@ -164,8 +164,12 @@
'name': 'support.function.directive.module.http.referer'
}
{
'match': '\\b(limit_zone|limit_conn)\\b'
'name': 'support.function.directive.module.http.limit_zone'
'match': '\\b(limit_conn|limit_conn_log_level|limit_conn_status|limit_conn_zone|limit_zone)\\b'
'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'
@ -208,4 +212,3 @@
'name': 'support.function.directive.module.http.lua'
}
]