mirror of
https://github.com/scopatz/nanorc
synced 2024-11-16 14:14:15 +01:00
11 lines
305 B
Plaintext
11 lines
305 B
Plaintext
|
## Syntax highlight for .env files, eg. https://symfony.com/doc/current/components/dotenv.html
|
||
|
##
|
||
|
## Derived from sh.nanorc
|
||
|
##
|
||
|
syntax "dotenv" "\.env" "\.env\..+"
|
||
|
|
||
|
color green "(\(|\)|\$|=)"
|
||
|
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
|
||
|
color cyan "(^|[[:space:]])#.*$"
|
||
|
color ,green "[[:space:]]+$"
|