aboutsummaryrefslogtreecommitdiff
path: root/plugins/lfautoinsert.lua
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-06-13 09:46:21 +0100
committerrxi <rxi@users.noreply.github.com>2020-06-13 09:46:50 +0100
commitc98a80d4aa74f6c24f6b38d7245afa65e08e2408 (patch)
treec641c6d607ec7d9c0d78382a902434eb93270554 /plugins/lfautoinsert.lua
parent0e8605da5c9ad371eb1f96e22f821d8c29a026e2 (diff)
downloadlite-xl-plugins-c98a80d4aa74f6c24f6b38d7245afa65e08e2408.tar.gz
lite-xl-plugins-c98a80d4aa74f6c24f6b38d7245afa65e08e2408.zip
Changed lfautoinsert's map config name
Diffstat (limited to 'plugins/lfautoinsert.lua')
-rw-r--r--plugins/lfautoinsert.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/lfautoinsert.lua b/plugins/lfautoinsert.lua
index 2c59e41..39715b3 100644
--- a/plugins/lfautoinsert.lua
+++ b/plugins/lfautoinsert.lua
@@ -3,7 +3,7 @@ local command = require "core.command"
local config = require "core.config"
local keymap = require "core.keymap"
-config.autoinsert_map = {
+config.lfautoinsert_map = {
["{%s*\n"] = "}",
["%(%s*\n"] = ")",
["%f[[]%[%s*\n"] = "]",
@@ -35,7 +35,7 @@ command.add("core.docview", {
local line, col = doc:get_selection()
local text = doc.lines[line - 1]
- for ptn, close in pairs(config.autoinsert_map) do
+ for ptn, close in pairs(config.lfautoinsert_map) do
local s, _, str = text:find(ptn)
if s then
if close