diff options
Diffstat (limited to 'vis-motions.c')
| -rw-r--r-- | vis-motions.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vis-motions.c b/vis-motions.c index 83bcb5a..b5d9255 100644 --- a/vis-motions.c +++ b/vis-motions.c @@ -186,7 +186,7 @@ static size_t window_nop(Vis *vis, Win *win, size_t pos) { } static size_t bracket_match(Text *txt, size_t pos) { - size_t hit = text_bracket_match_symbol(txt, pos, "(){}[]"); + size_t hit = text_bracket_match_symbol(txt, pos, "(){}[]<>"); if (hit != pos) return hit; char current; @@ -199,6 +199,8 @@ static size_t bracket_match(Text *txt, size_t pos) { case '}': case '[': case ']': + case '<': + case '>': return it.pos; } text_iterator_byte_next(&it, NULL); |
