diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2016-11-14 04:16:13 +0100 | 
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2016-11-15 04:22:24 +0100 | 
| commit | 91507c271e9e51cefed3dcac21f7a41b9cac0bbe (patch) | |
| tree | 27e530cf607969e1b93fa4d8a30814934ae1b693 /runtime/syntax/forth.vim | |
| parent | 4539d867d491c9ca748f3d2de505092c4769824d (diff) | |
| download | rneovim-91507c271e9e51cefed3dcac21f7a41b9cac0bbe.tar.gz rneovim-91507c271e9e51cefed3dcac21f7a41b9cac0bbe.tar.bz2 rneovim-91507c271e9e51cefed3dcac21f7a41b9cac0bbe.zip | |
'inccommand': Detect "non-interactive", "too slow".
command_line_changed:
  - Check (current_SID == 0) instead of KeyTyped
    - We want to update during mappings (KeyTyped is false then).
  - Check vpeekc_any()
    - Avoids unnecessary work.
    - Avoids triggering live preview during macros.
    - Caveat: This makes the redraw "stutter" if user spams (holds a key)
      in the replace pattern. But that scenario is not important.
  - Update screen if the command is changed to a non-live command.
    (`s->live` goes from true => false) => clears the preview
command_line_execute:
  - Let CTRL-C cancel live preview
do_sub:
  - Enforce a time limit ('redrawtime').
  - Unset 'inccommand' if time limit is reached.
Closes #5602
Closes #5585
Diffstat (limited to 'runtime/syntax/forth.vim')
0 files changed, 0 insertions, 0 deletions
