Commit Graph

9 Commits

Author SHA1 Message Date
Ryan Westlund 8b3b92ae39 Fix #299: Make comments not black in nginx syntax 2020-04-12 09:30:31 -04:00
Birger Jarl 4947e352c5
Added missing proxy_ directives
`proxy_cache_methods`, `proxy_pass_request_body`, `proxy_pass_request_headers`, `proxy_pass_request_headers`, `proxy_cache_convert_head`, `proxy_cache_lock_age`, `proxy_cache_max_range_offset`, `proxy_send_lowat`, `proxy_set_body`, `proxy_socket_keepalive`. `proxy_ssl_trusted_certificate`
2018-11-04 00:56:58 +03:00
Birger Jarl f63ecc1304
Parse config files in sites-enabled and sites-available 2018-11-04 00:49:03 +03:00
Birger Jarl 0ab67dcf5b
Added missing ssl directives 2018-11-04 00:42:42 +03:00
Per Lundberg 960ac5d536
Update nginx.nanorc
Sometimes you have server names with an embedded dash character (`foo.bar-baz.com`), which is perfectly valid but the previous regexp doesn't capture these cases. This PR fixes that.
2018-04-23 15:28:19 +03:00
ThomasR bba53c3940 Rename syntax definitions
Duplicate syntax definition names may cause problems.
Since nano comes with predefined all-lowercase syntax definitions,
we use uppercase letters everywhere to reduce the risk of future conflicts
2016-03-02 20:51:19 +01:00
Jody Leonard b1c896c01c Remove black coloring for several rc's
Some of the configurations turn parentheses and or curly braces black,
which become invisible against the default nano black background color.
2015-10-24 07:55:49 -04:00
Jody Leonard b64de43467 Change tab coloring behavior for several rc's
The commit mariuszs/nanorc@e5cc8be863
introduced a number of rc files that cause tabs to always show as red
(even with trailing spaces). Adjust the behavior according to changes in
https://github.com/nanorc/nanorc/blob/master/mixins/lint.nanorc, which
seems to be an updated source of the original commit. Make tabs appear
green without trailing characters, red with trailing spaces, and
uncolored when followed by any other character.
2015-10-24 06:58:36 -04:00
Mariusz Smykuła e5cc8be863 More syntax files from craigbarnes/nanorc 2013-06-02 12:50:31 +02:00