Highlighting trailing whitespace in Python and nanorc files.
Patches by Mike Frysinger. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4670 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
a2fcc06fa5
Коммит
2797521289
@ -2,6 +2,8 @@
|
||||
* doc/syntax/gentoo.nanorc - Match more files, add a trailing
|
||||
whitespace check, and EAPI=5 updates. Patch by Mike Frysinger.
|
||||
* doc/syntax/javascript.nanorc - New file, by Mike Frysinger.
|
||||
* doc/syntax/{nanorc,python}.nanorc - Highlight trailing
|
||||
whitespace. Patches by Mike Frysinger <vapier@gentoo.org>.
|
||||
|
||||
2014-03-23 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/rcfile.c (parse_keybinding, parse_unbinding) - Improve a
|
||||
|
@ -17,3 +17,5 @@ icolor brightmagenta ""(\\.|[^"])*""
|
||||
## Comments
|
||||
icolor brightblue "^[[:space:]]*#.*$"
|
||||
icolor cyan "^[[:space:]]*##.*$"
|
||||
## Trailing whitespace
|
||||
color ,green "[[:space:]]+$"
|
||||
|
@ -9,3 +9,6 @@ color brightgreen "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
|
||||
color brightgreen start="\"\"\"[^"]" end="\"\"\""
|
||||
color brightgreen start="\'\'\'[^']" end="\'\'\'"
|
||||
color brightred "#.*$"
|
||||
|
||||
## Trailing whitespace
|
||||
color ,green "[[:space:]]+$"
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user