1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 08:35:39 +01:00

feat(brewfile): Add Brewfile support

https://github.com/tomkyle/nanorc-brewfile
This commit is contained in:
tomkyle 2024-02-05 01:39:37 +08:00 committed by davidhcefx
parent 1aa64a86cf
commit e32b7c5490

28
Brewfile.nanorc Normal file
View 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 "^###.*"