mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Merge e32b7c5490 into 1aa64a86cf
This commit is contained in:
commit
bd5a76628b
1 changed files with 28 additions and 0 deletions
28
Brewfile.nanorc
Normal file
28
Brewfile.nanorc
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# 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 "^###.*"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue