aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-01-27 18:42:21 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-01-27 18:44:18 +0100
commit84eeabfef92559cb71233bf69db4f1b1fd4f9cd8 (patch)
treed0b935dbe0ab6925deba1fa8a0f64dd1352529b0 /view.c
parente2c6526a97018f695d3d2e9a420c36bd2797b37b (diff)
downloadvis-84eeabfef92559cb71233bf69db4f1b1fd4f9cd8.tar.gz
vis-84eeabfef92559cb71233bf69db4f1b1fd4f9cd8.tar.xz
text-motion: change text_bracket_match API
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index e417995..4182cc5 100644
--- a/view.c
+++ b/view.c
@@ -610,7 +610,7 @@ void view_draw(View *view) {
c->line->cells[c->col].cursor = true;
if (view->ui && !c->sel) {
Line *line_match; int col_match;
- size_t pos_match = text_bracket_match_except(view->text, pos, "<>");
+ size_t pos_match = text_bracket_match_symbol(view->text, pos, "(){}[]\"'`");
if (pos != pos_match && view_coord_get(view, pos_match, &line_match, NULL, &col_match)) {
line_match->cells[col_match].selected = true;
}