mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Force all syntax regex to ends with $
- Lots of syntax regex are poorly written and did not ends with a '$', which caused them competing with other regex rules.
This commit is contained in:
parent
92c5ada3c7
commit
b5b285fbf9
20 changed files with 20 additions and 20 deletions
|
|
@ -2,7 +2,7 @@
|
|||
##
|
||||
## Derived from sh.nanorc
|
||||
##
|
||||
syntax "dotenv" "\.env" "\.env\..+"
|
||||
syntax "dotenv" "\.env$" "^\.env\..+$"
|
||||
|
||||
color green "(\(|\)|\$|=)"
|
||||
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue