fix: quit after mutations when :wq or similar (#221)
This commit is contained in:
parent
3727410e48
commit
af13ce333f
6 changed files with 65 additions and 18 deletions
|
|
@ -238,13 +238,17 @@ select({opts}, {callback}) *oil.selec
|
|||
{callback} `nil|fun(err: nil|string)` Called once all entries have been
|
||||
opened
|
||||
|
||||
save({opts}) *oil.save*
|
||||
save({opts}, {cb}) *oil.save*
|
||||
Save all changes
|
||||
|
||||
Parameters:
|
||||
{opts} `nil|table`
|
||||
{confirm} `nil|boolean` Show confirmation when true, never when false,
|
||||
respect skip_confirm_for_simple_edits if nil
|
||||
{cb} `nil|fun(err: nil|string)` Called when mutations complete.
|
||||
|
||||
Note:
|
||||
If you provide your own callback function, there will be no notification for errors.
|
||||
|
||||
setup({opts}) *oil.setup*
|
||||
Initialize oil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue