9 Commits

Author SHA1 Message Date
Ingo Karkat 5bb32fd27a Documentation: Clarify ingo#err#Get() behavior with :function-abort and command sequences
It was a bit unexpected that :echoerr does not abort a command sequence and :function defined with abort; only pending keys of mappings / macros are discarded. However, in the end it's not too bad, and a sensible approach can taken.
2017-08-13 20:14:32 +02:00
Ingo Karkat ae2fd1d150 Add ingo#err#Command() for an alternative way of passing back [error] commands to be executed 2017-05-26 17:56:26 +02:00
Ingo Karkat fb6dc38f16 Add ingo#err#SetAndBeep() 2017-05-26 17:56:22 +02:00
Ingo Karkat 60f5b4d7e3 ENH: Add optional {context} to all ingo#err#... functions
in case other custom commands can be called between error setting and checking, to avoid clobbering of your error message.
2017-05-26 17:52:22 +02:00
Ingo Karkat ce2a288725 Minor: Make substitute() robust against 'ignorecase' 2017-05-26 17:50:54 +02:00
Ingo Karkat fdea19c215 2017-05-26 17:14:34 +02:00
Ingo Karkat 6b296c1cd9 2017-05-26 17:14:24 +02:00
Ingo Karkat 57f2913de8 Add ingo#err#IsSet() for those cases when wrapping the command in :if does not work (e.g :call'ing a range function) 2017-05-26 17:03:45 +02:00
Ingo Karkat 297c681b3f file creation 2017-05-26 17:03:17 +02:00