commit 00b0316ab8d90d916bb27acd2fc1d12c8b2dc88b
parent 76d90617cc1cd90014a9468dde599de31dfca0b4
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 10 Dec 2019 15:32:30 +0100
syntax: nanohelp: colorize also ^/ as a possible keystroke
(In addition, colorize F20...F24 too.)
This fixes https://savannah.gnu.org/bugs/?57390.
Bug existed since version 4.6, commit 2a97cb9f.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax/nanohelp.nanorc b/syntax/nanohelp.nanorc
@@ -4,7 +4,7 @@
syntax nanohelp
# Key combos:
-color cyan "\^[]4-8A-Z^\_◀▶▲▼]" "[◀▶▲▼]" "\<M-." "\<F1?[0-9]"
+color cyan "\^[]/4-8A-Z\^_◀▶▲▼]" "[◀▶▲▼]" "\<M-." "\<F([1-9]|1[0-9]|2[0-4])"
color cyan "\<((Sh-)?Tab|Enter|Ins|(Sh-\^?)?Del|Space|Bsp|Up|Down|Left|Right|Home|End|PgUp|PgDn)\>"
# Quoted indicators: