Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .nano/syntax/nginx.nanorc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


## Ngnix - The extensions default .com, etc. are useful for editing sites-available/example.tld config files, but of course are a hack.
syntax "nginx" "nginx\.conf$" "\.nginx$" "default" "\.com$" "\.net$" "\.co$" "\.org$"
syntax "nginx" "nginx\.conf$" "\.nginx$" "default" "\.com$" "\.net$" "\.co$" "\.org$" "/etc/nginx/sites-available/*" "/etc/nginx/sites-enabled/"
## Default
color white "^.+$"
## Nginx Directives as of 2014
Expand All @@ -19,4 +19,4 @@ color yellow "((ssl|ssl_(certificate|certificate_key|session_timeout|protocols|c
## Escapes
color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
## Comments
icolor cyan "^[[:space:]]*#.*$"
icolor cyan "^[[:space:]]*#.*$"