commit d0119833c140fbf6cedbc3bc6b5faff6d58de166 parent d4074ca85b53953552616a33b6a9aa5b6a1c94e7 Author: Benno Schulenberg <bensberg@telfort.nl> Date: Wed, 11 Oct 2017 21:52:18 +0200 tweaks: reshuffle some regexes, for order and compactness Diffstat:
M | syntax/nanohelp.nanorc | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/syntax/nanohelp.nanorc b/syntax/nanohelp.nanorc @@ -4,9 +4,8 @@ syntax "nanohelp" # Key combos: -color cyan "\^([]4-8A-Z^\_←→↑↓]|Home|End)" "[←→↑↓]" -color cyan "\<(Tab|Enter|Home|End|Ins|Del|Bsp|PgUp|PgDn|Up|Down|Left|Right)\>" -color cyan "\<M-." "\<F1?[0-9]" "(\^|M-)Space" +color cyan "\^[]4-8A-Z^\_←→↑↓]" "[←→↑↓]" "(\^|M-)Space" "\<M-." "\<F1?[0-9]" +color cyan "\<(Tab|Enter|Ins|Del|Bsp|Up|Down|Left|Right|Home|End|PgUp|PgDn)\>" # Quoted indicators: color brightred "'(\^|M-)'"