diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-01-27 18:42:21 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-27 18:44:18 +0100 |
| commit | 84eeabfef92559cb71233bf69db4f1b1fd4f9cd8 (patch) | |
| tree | d0b935dbe0ab6925deba1fa8a0f64dd1352529b0 /view.c | |
| parent | e2c6526a97018f695d3d2e9a420c36bd2797b37b (diff) | |
| download | vis-84eeabfef92559cb71233bf69db4f1b1fd4f9cd8.tar.gz vis-84eeabfef92559cb71233bf69db4f1b1fd4f9cd8.tar.xz | |
text-motion: change text_bracket_match API
Diffstat (limited to 'view.c')
| -rw-r--r-- | view.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
