From 17c3533de833886a2be666506709f3a21776cb96 Mon Sep 17 00:00:00 2001 From: hnagato Date: Tue, 13 Oct 2015 13:10:13 +0900 Subject: [PATCH] Supoprt lua directives #12 --- grammars/nginx.cson | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/grammars/nginx.cson b/grammars/nginx.cson index ad61d69..2f1eda6 100644 --- a/grammars/nginx.cson +++ b/grammars/nginx.cson @@ -203,4 +203,9 @@ 'match': '\\b(userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service)\\b' 'name': 'support.function.directive.module.http.userid' } + { + 'match': '\\b(lua_use_default_type|lua_code_cache|lua_regex_cache_max_entries|lua_regex_match_limit|lua_package_path|lua_package_cpath|init_by_lua|init_by_lua_file|init_worker_by_lua|init_worker_by_lua_file|set_by_lua|set_by_lua_file|content_by_lua|content_by_lua_file|rewrite_by_lua|rewrite_by_lua_file|access_by_lua|access_by_lua_file|header_filter_by_lua|header_filter_by_lua_file|body_filter_by_lua|body_filter_by_lua_file|log_by_lua|log_by_lua_file|lua_need_request_body|lua_shared_dict|lua_socket_connect_timeout|lua_socket_send_timeout|lua_socket_send_lowat|lua_socket_read_timeout|lua_socket_buffer_size|lua_socket_pool_size|lua_socket_keepalive_timeout|lua_socket_log_errors|lua_ssl_ciphers|lua_ssl_crl|lua_ssl_protocols|lua_ssl_trusted_certificate|lua_ssl_verify_depth|lua_http10_buffering|rewrite_by_lua_no_postpone|lua_transform_underscores_in_response_headers|lua_check_client_abort|lua_max_pending_timers|lua_max_running_timers)\\b' + 'name': 'support.function.directive.module.http.lua' + } ] +