Commit Graph

9 Commits (master)

Author SHA1 Message Date
Ryan Westlund 8b3b92ae39 Fix #299: Make comments not black in nginx syntax 4 years ago
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`
6 years ago
Birger Jarl f63ecc1304
Parse config files in sites-enabled and sites-available 6 years ago
Birger Jarl 0ab67dcf5b
Added missing ssl directives 6 years ago
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.
6 years ago
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
8 years ago
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.
9 years ago
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.
9 years ago
Mariusz Smykuła e5cc8be863 More syntax files from craigbarnes/nanorc 11 years ago