per Mike Frysinger's patch with a few tweaks of mine, in
doc/syntax/asm.nanorc, doc/syntax/c.nanorc, and doc/syntax/sh.nanorc, copy the regex that highlights trailing whitespace from doc/syntax/java.nanorc to these files, as it's also useful in them git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4071 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
267daeb381
commit
e081fb9d54
@ -1,3 +1,10 @@
|
||||
2007-04-11 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* doc/syntax/asm.nanorc, doc/syntax/c.nanorc,
|
||||
doc/syntax/sh.nanorc: Copy the regex that highlights trailing
|
||||
whitespace from doc/syntax/java.nanorc to these files, as it's
|
||||
also useful in them. (With minor tweaks by DLR.)
|
||||
|
||||
2007-04-04 David Lawrence Ramsey <pooka109@gmail.com>
|
||||
|
||||
* AUTHORS, faq.html: Update email address.
|
||||
|
@ -13,3 +13,5 @@ color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
|
||||
## Highlight comments
|
||||
color brightblue "//.*"
|
||||
color brightblue start="/\*" end="\*/"
|
||||
## Highlight trailing whitespace
|
||||
color ,green "[[:space:]]+$"
|
||||
|
@ -25,3 +25,6 @@ color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
|
||||
## Comment highlighting
|
||||
color brightblue "//.*"
|
||||
color brightblue start="/\*" end="\*/"
|
||||
|
||||
## Trailing whitespace
|
||||
color ,green "[[:space:]]+$"
|
||||
|
@ -10,3 +10,4 @@ color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|m
|
||||
icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
|
||||
color cyan "(^|[[:space:]])#.*$"
|
||||
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
|
||||
color ,green "[[:space:]]+$"
|
||||
|
Loading…
Reference in New Issue
Block a user