diff options
author | rxi <rxi@users.noreply.github.com> | 2020-06-13 09:46:21 +0100 |
---|---|---|
committer | rxi <rxi@users.noreply.github.com> | 2020-06-13 09:46:50 +0100 |
commit | c98a80d4aa74f6c24f6b38d7245afa65e08e2408 (patch) | |
tree | c641c6d607ec7d9c0d78382a902434eb93270554 /plugins/lfautoinsert.lua | |
parent | 0e8605da5c9ad371eb1f96e22f821d8c29a026e2 (diff) | |
download | lite-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.lua | 4 |
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 |