mirror of
https://github.com/scopatz/nanorc
synced 2024-10-31 23:00:00 +01:00
29 lines
604 B
Plaintext
29 lines
604 B
Plaintext
|
# Brewfile.nanorc
|
||
|
## Syntax highlighting for Homebrew Brewfiles
|
||
|
## Author: tomkyle (https://github.com/tomkyle)
|
||
|
|
||
|
syntax "Brewfile" "Brewfile$"
|
||
|
|
||
|
## Keywords
|
||
|
icolor red "^(tap)[[:space:]]"
|
||
|
icolor green "^(brew)[[:space:]]"
|
||
|
icolor blue "^(cask)[[:space:]]"
|
||
|
icolor brightblue "^(cask_args)[[:space:]]"
|
||
|
icolor magenta "^(mas)[[:space:]]"
|
||
|
|
||
|
|
||
|
## Brackets & parenthesis
|
||
|
color brightblack "(\(|\)|\[|\]|\{|\})"
|
||
|
|
||
|
|
||
|
## Strings and quotes
|
||
|
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
|
||
|
color yellow "('|\")"
|
||
|
|
||
|
|
||
|
## comments
|
||
|
color brightblack "^#.*"
|
||
|
color white "^##.*"
|
||
|
color cyan "^###.*"
|
||
|
|