Closed mattn closed 9 years ago
Which is default value? 0 or 1 ?
1
(keeping the current default behavior).
done
Looks good, thanks. One last thing before I merge this, could you add a corresponding section in the documentation (there should be a small change inside the :ScratchInsert
section too)?
Sorry, I couldn't make it small.
Please wait merging. Found problem.
Fixed the problem. autocmd! InsertLeave <buffer>
reset all-InsertLeave events which is registered in another plugins.
Indeed - great catch. Thanks for the PR!
This is a major part of the
:ScratchInsert
command though (otherwise it becomes equivalent to:Scratch<CR>i
). Rather than disable it entirely, could you protect this with an option (e.g. namedg:scratch_insert_autohide
)?