mirror of git://git.sv.gnu.org/nano.git
syntax: awk: colorize escape sequences specially
This commit is contained in:
parent
d7e8665782
commit
c5a0e6b60c
|
@ -32,6 +32,8 @@ color magenta "\<(bindtextdomain|dcgettext|dcngettext)\>"
|
||||||
|
|
||||||
# Strings.
|
# Strings.
|
||||||
color brightyellow ""([^"\]|\\.)*""
|
color brightyellow ""([^"\]|\\.)*""
|
||||||
|
# Escape sequences.
|
||||||
|
color brick "\\([abfnrtv\/"]|[0-7]{1,3}|x[[:xdigit:]]{1,2}|u[[:xdigit:]]{1,8})"
|
||||||
# Comments.
|
# Comments.
|
||||||
color brightblue "(^|[[:blank:]])#.*"
|
color brightblue "(^|[[:blank:]])#.*"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue