Update nginx grammars file

* Fix typo: "reqrite" -> "rewrite"
* Add "try_files" directive
This commit is contained in:
Valentin Sushkov 2014-03-14 12:30:23 +03:00
parent 0faab9e3b8
commit 164f1c378e
1 changed files with 5 additions and 1 deletions

View File

@ -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'
}
{