aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 672ddfa9..9b67eb7e 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -91,7 +91,7 @@ local default_menubar = {
{_L['Select _All'], buffer.select_all},
SEPARATOR,
{_L['_Match Brace'], function()
- local match_pos = buffer:brace_match(buffer.current_pos)
+ local match_pos = buffer:brace_match(buffer.current_pos, 0)
if match_pos >= 0 then buffer:goto_pos(match_pos) end
end},
{_L['Complete _Word'], function()