aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/textadept/editing.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index bd7c57d9..6ff251ba 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -476,7 +476,7 @@ events.connect(events.KEYPRESS, function(code, shift, ctrl, alt, cmd)
not cmd and not ui.command_entry.active then
local char = string.char(code)
if char:find('^%P') then return end -- not punctuation
- M.enclose(char, M.auto_pairs[code] or char)
+ M.enclose(char, M.auto_pairs[code] or char, true)
return true -- prevent typing
end
end, 1)