aboutsummaryrefslogtreecommitdiff
path: root/plugins/autoinsert.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/autoinsert.lua')
-rw-r--r--plugins/autoinsert.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/autoinsert.lua b/plugins/autoinsert.lua
index d9bf291..94bcc74 100644
--- a/plugins/autoinsert.lua
+++ b/plugins/autoinsert.lua
@@ -88,7 +88,6 @@ command.add(predicate, {
["autoinsert:backspace"] = function()
local doc = core.active_view.doc
local l, c = doc:get_selection()
- local chr = doc:get_char(l, c)
if c > 1 then
local chr = doc:get_char(l, c)
local mapped = config.plugins.autoinsert.map[doc:get_char(l, c - 1)]