diff options
author | jgmdev <jgmdev@gmail.com> | 2022-05-15 16:29:30 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2022-05-22 13:20:25 -0400 |
commit | ff96b251c81214096cf23fb9207eca48e34bb9ab (patch) | |
tree | 04581f4eb4ba3d852aafe83b38590c4fe0880093 /plugins | |
parent | 45689246a7ddfe79826a91a78fc20d8a5cc010bc (diff) | |
download | lite-xl-plugins-ff96b251c81214096cf23fb9207eca48e34bb9ab.tar.gz lite-xl-plugins-ff96b251c81214096cf23fb9207eca48e34bb9ab.zip |
lfautoinsert: make use of new strict predicate
Diffstat (limited to 'plugins')
-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 138f48f..1d9772d 100644 --- a/plugins/lfautoinsert.lua +++ b/plugins/lfautoinsert.lua @@ -64,7 +64,7 @@ local function indent_size(doc, line) return e - s end -command.add("core.docview", { +command.add("core.docview!", { ["autoinsert:newline"] = function() command.perform("doc:newline") @@ -97,7 +97,7 @@ command.add("core.docview", { }) keymap.add { - ["return"] = { "command:submit", "autoinsert:newline" } + ["return"] = { "autoinsert:newline" } } return { |