mirror of https://github.com/scopatz/nanorc
add .env file syntax highlight
parent
4af9726092
commit
f91ebbbccd
@ -0,0 +1,10 @@
|
||||
## 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:]]+$"
|
Loading…
Reference in New Issue