Skip to content

Commit 2bddc25

Browse files
authored
Merge pull request #19 from davidhcefx/brewfile
feat(brewfile): Add Brewfile support
2 parents 6ca4ffa + bdb8ea1 commit 2bddc25

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Brewfile.nanorc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Brewfile.nanorc
2+
## Syntax highlighting for Homebrew Brewfiles
3+
## Author: tomkyle (https://github.com/tomkyle)
4+
5+
syntax "Brewfile" "Brewfile$"
6+
7+
## Keywords
8+
icolor red "^(tap)[[:space:]]"
9+
icolor green "^(brew)[[:space:]]"
10+
icolor blue "^(cask)[[:space:]]"
11+
icolor brightblue "^(cask_args)[[:space:]]"
12+
icolor magenta "^(mas)[[:space:]]"
13+
14+
15+
## Brackets & parenthesis
16+
color brightblack "(\(|\)|\[|\]|\{|\})"
17+
18+
19+
## Strings and quotes
20+
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
21+
color yellow "('|\")"
22+
23+
24+
## comments
25+
color brightblack "^#.*"
26+
color white "^##.*"
27+
color cyan "^###.*"
28+

0 commit comments

Comments
 (0)