aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.cpp
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-08-20 18:40:14 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-08-22 11:45:05 -0700
commit8aad53556dfc6aa969056a741c009c9f127c1f96 (patch)
tree5333b63a29ec5b7bbec34af26d4fed092102bcf8 /highlight.cpp
parent61ce9db4bac2da9f69487e828f627e4247ccc140 (diff)
Highlight pipe characters correctly
According to `fish_config`'s colors page, the pipe operator `|` is supposed to be colored the same as a statement terminator.
Diffstat (limited to 'highlight.cpp')
-rw-r--r--highlight.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/highlight.cpp b/highlight.cpp
index 8145e5f3..287f1a3b 100644
--- a/highlight.cpp
+++ b/highlight.cpp
@@ -1358,6 +1358,7 @@ const highlighter_t::color_array_t & highlighter_t::highlight()
}
break;
+ case parse_token_type_pipe:
case parse_token_type_background:
case parse_token_type_end:
case symbol_optional_background: