neovim/runtime
Justin M. Keyes 97204e1cef os/shell: Throttle :! output, pulse "..." message.
Periodically skip :! spam. This is a "cheat" that works for all UIs and greatly
improves responsiveness when :! spams MB or GB of output:
    :!yes
    :!while true; do date; done
    :!git grep ''
    :grep -r '' *

After ~10KB of data is seen from a single :! invocation, output will be skipped
for ~1s and three dots "..." will pulse in the bottom-left. Thereafter the
behavior alternates at every:
    * 10KB received
    * ~1s throttled

This also avoids out-of-memory which could happen with large :! outputs.

Note: This commit does not change the behavior of execute(':!foo').
      execute(':!foo') returns the string ':!foo^M', it captures *only* Vim
      messages, *not* shell command output. Vim behaves the same way.
      Use system('foo') for capturing shell command output.

Closes #1234

Helped-by: oni-link <knil.ino@gmail.com>
2016-12-09 18:51:17 +01:00
..
autoload Health: rework syntax (#5744) 2016-12-09 19:54:24 +01:00
colors Remove VisualNOS highlight group remnants 2015-07-04 15:43:54 -04:00
compiler vim-patch:0648142 2016-10-15 11:51:46 +09:00
doc os/shell: Throttle :! output, pulse "..." message. 2016-12-09 18:51:17 +01:00
ftplugin ftplugin/man: Finish early if &filetype is not man 2016-12-03 21:27:43 -05:00
indent vim-patch:939a1ab 2016-10-04 23:33:28 +09:00
keymap
macros vim-patch:7.4.1673 (#5141) 2016-08-03 08:07:28 -04:00
pack/dist/opt vim-patch:7.4.1673 (#5141) 2016-08-03 08:07:28 -04:00
plugin doc; vim-patch.sh 2016-10-24 13:26:55 +02:00
print Remove dec-mcs remnants 2014-12-19 15:28:49 -05:00
syntax man.vim: do not assume ftplugin is sourced before syntax 2016-11-19 13:41:04 -05:00
tutor tutor: Update vim-tutor to 0.2.1 2015-11-28 10:59:21 +01:00
bugreport.vim
CMakeLists.txt eval: use gperf to generate the hash of builtin functions 2016-08-31 21:57:04 +02:00
delmenu.vim
filetype.vim vim-patch:269f595 2016-10-15 12:21:13 +09:00
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim vim-patch:fc39ec 2016-04-16 23:06:24 -07:00
menu.vim Remove Amiga remnants 2014-12-19 15:28:49 -05:00
mswin.vim
optwin.vim Merge #5427 from Shougo/vim-7.4.1714 2016-10-13 00:22:23 +02:00
rgb.txt
scripts.vim vim-patch:2685212 2016-10-15 12:15:36 +09:00
synmenu.vim vim-patch:0c1ff16 2016-10-04 23:34:28 +09:00
vimrc_example.vim vim-patch:7.4.1714 2016-10-04 23:14:47 +09:00