diff options
-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 { |