mirror of
https://github.com/scopatz/nanorc
synced 2024-12-25 14:54:51 +01:00
feat(brewfile): Add Brewfile support
https://github.com/tomkyle/nanorc-brewfile
This commit is contained in:
parent
1aa64a86cf
commit
e32b7c5490
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…
Reference in New Issue
Block a user