reorder coloring to avoid some bugs

This commit is contained in:
Ville Rantanen
2016-02-14 18:58:14 +02:00
parent 6731d7befb
commit 1d8e632f3d

View File

@@ -21,12 +21,12 @@ function helpexit() {
# [x] check list (unofficial) # [x] check list (unofficial)
# Color codes # Color codes
export HB_RULES='"^\s*\*.*" "$y" \ export HB_RULES='"\[[^]]\+\]([^)]\+)" "$U$B" \
"^\s*\*.*" "$y" \
"^[[:space:]]*[0-9]\+\..*" "$y" \ "^[[:space:]]*[0-9]\+\..*" "$y" \
"^#.*" "$U$W" \ "^#.*" "$U$W" \
"^\s\s\s\s[^\*0-9].*" "$c" \ "^\s\s\s\s[^\*0-9].*" "$c" \
"\`[^[[:space:]]]*[^\`]\+\`" "$c" \ "\`[^[[:space:]]]*[^\`]\+\`" "$c" \
"\[[^]]\+\]([^)]\+)" "$B$U" \
"\*\{1,2\}[^[[:space:]]]*[^\*]\+\*\{1,2\}" "$W" \ "\*\{1,2\}[^[[:space:]]]*[^\*]\+\*\{1,2\}" "$W" \
"_[^[[:space:]]]*[^_]\+_" "$W" \ "_[^[[:space:]]]*[^_]\+_" "$W" \
"<[^>]\+>" "$K" \ "<[^>]\+>" "$K" \