Skip to content

Commit

Permalink
gron.nanorc: improve *_COLORS variable value highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Dec 20, 2021
1 parent c70d327 commit 233a6cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions demo/src/main/scripts/nanorc/gron.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ NUMBER: "\<[-]?[0-9]*([Ee][+-]?[0-9]+)?\>" "\<[-]?[0](\.[0-9]+)?\>"
STRING: "[a-zA-Z]+[a-zA-Z0-9]*"
NULL: "\<null\>"
BOOLEAN: "\<(true|false)\>"
VARIABLE: "(\[|,)\s*[a-zA-Z0-9]*\s*:"
PLAIN: "(:|\[|,|\])"
VARIABLE: "(\[|,)\s*[a-zA-Z0-9_]*\s*:"
VARIABLE: "(^|:)[a-zA-Z0-9_]*="
PLAIN: "(=|:|\[|,|\])"
ESCAPE: "\\u[0-9a-fA-F]{4}|\\[bfnrt'"/\\]"
$BALANCED_DELIMITERS "", '"

0 comments on commit 233a6cc

Please sign in to comment.