From 164f1c378e2402606656a591367fa3bdcb051078 Mon Sep 17 00:00:00 2001 From: Valentin Sushkov Date: Fri, 14 Mar 2014 12:30:23 +0300 Subject: [PATCH] Update nginx grammars file * Fix typo: "reqrite" -> "rewrite" * Add "try_files" directive --- grammars/nginx.cson | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/grammars/nginx.cson b/grammars/nginx.cson index 72aa780..b6a52f9 100644 --- a/grammars/nginx.cson +++ b/grammars/nginx.cson @@ -61,6 +61,10 @@ 'match': '\\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' 'name': 'constant.language.directive.module.http' } + { + 'match': '\\b(try_files)\\b' + 'name': 'constant.language.module.http.core' + } { 'match': '\\b(allow|deny)\\b' 'name': 'constant.language.module.http.access' @@ -126,7 +130,7 @@ 'name': 'constant.language.module.http.proxy' } { - 'match': '\\b(break|if|return|reqrite|set|uninitialized_variable_warn)\\b' + 'match': '\\b(break|if|return|rewrite|set|uninitialized_variable_warn)\\b' 'name': 'constant.language.module.http.rewrite' } {