Stopping the changed-files colour from spilling beyond an empty line.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5261 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
11fa458677
commit
4310139117
|
@ -6,6 +6,8 @@
|
||||||
could be determined, so that nano will show a message about it.
|
could be determined, so that nano will show a message about it.
|
||||||
* doc/syntax/nanorc.nanorc: Colour key-binding lines affirmatively
|
* doc/syntax/nanorc.nanorc: Colour key-binding lines affirmatively
|
||||||
only when the specified menu name is an existing one.
|
only when the specified menu name is an existing one.
|
||||||
|
* doc/syntax/changelog.nanorc: Stop the changed-files colour from
|
||||||
|
spilling beyond a blank line. Also highlight releases.
|
||||||
|
|
||||||
2015-06-18 Benno Schulenberg <bensberg@justemail.net>
|
2015-06-18 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/rcfile.c: Allow a tiny nano's ~/.nanorc to enable search and
|
* src/rcfile.c: Allow a tiny nano's ~/.nanorc to enable search and
|
||||||
|
|
|
@ -13,13 +13,16 @@ color yellow "<[^>]*@[^>]*>"
|
||||||
color cyan "[[:space:]]-[a-zA-Z\$]" "--[8a-z-]+"
|
color cyan "[[:space:]]-[a-zA-Z\$]" "--[8a-z-]+"
|
||||||
# Bug and patch numbers.
|
# Bug and patch numbers.
|
||||||
color cyan "bug #[0-9]{5,6}" "patch #[0-9]{4,5}"
|
color cyan "bug #[0-9]{5,6}" "patch #[0-9]{4,5}"
|
||||||
# Probable variables, for variety.
|
# Probable constants, for variety.
|
||||||
color brightred "\<[A-Z_][0-9A-Z_]+\>"
|
color brightred "\<[A-Z_][0-9A-Z_]+\>"
|
||||||
# Key sequences.
|
# Key sequences.
|
||||||
color brightblue "\^[A-Z]" "\<M-." "\<F1?[0-9]" "(\^|M-)Space"
|
color brightblue "\^[A-Z]" "\<M-." "\<F1?[0-9]" "(\^|M-)Space"
|
||||||
|
|
||||||
# Changed files.
|
# Changed files.
|
||||||
color magenta start="^( | {8})\* " end=":( |$)"
|
color magenta start="^( | {8})\* " end="(:( |$)|^$)"
|
||||||
|
|
||||||
|
# Release markers.
|
||||||
|
color brightblue "^(GNU )?nano[- ][0-9]\.[0-9]\.[^ ]+"
|
||||||
|
|
||||||
# Trailing whitespace.
|
# Trailing whitespace.
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
|
Loading…
Reference in New Issue