From 84eeabfef92559cb71233bf69db4f1b1fd4f9cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 27 Jan 2016 18:42:21 +0100 Subject: text-motion: change text_bracket_match API --- view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view.c') 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; } -- cgit v1.2.3