Change plugin callbacks to not only happen when a keybinding triggers the action

This commit is contained in:
Zachary Yedidia
2016-08-16 11:43:36 -04:00
parent de9567322b
commit ed31d37e74
4 changed files with 517 additions and 127 deletions

View File

@@ -43,7 +43,7 @@ function onRune(r)
end
end
function onInsertEnter()
function onInsertNewline()
if not GetOption("autoclose") then
return
end