nanorc/dotenv.nanorc

11 lines
299 B
Plaintext
Raw Normal View History

2018-06-13 16:15:43 +02:00
## Syntax highlight for .env files, eg. https://symfony.com/doc/current/components/dotenv.html
##
## Derived from sh.nanorc
##
syntax "dotenv" "\.env" "\.env\..+"
color green "(\(|\)|\$|=)"
2018-08-09 10:09:19 +02:00
color yellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
2018-06-13 16:15:43 +02:00
color cyan "(^|[[:space:]])#.*$"
color ,green "[[:space:]]+$"