Mercurial > vim
view src/testdir/test_ex_undo.vim @ 27441:674240fcf6de v8.2.4249
patch 8.2.4249: the timeout limit for spell suggestions is always 5000
Commit: https://github.com/vim/vim/commit/585ee07cfef307b2fc828537e0d31fdc22d7e79f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 29 11:22:17 2022 +0000
patch 8.2.4249: the timeout limit for spell suggestions is always 5000
Problem: The timeout limit for spell suggestions is always 5000 milli
seconds.
Solution: Add the "timeout" entry to 'spellsuggest'.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 Jan 2022 12:30:02 +0100 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Tests for :undo func Test_ex_undo() new ex-undo setlocal ul=10 exe "normal ione\n\<Esc>" setlocal ul=10 exe "normal itwo\n\<Esc>" setlocal ul=10 exe "normal ithree\n\<Esc>" call assert_equal(4, line('$')) undo call assert_equal(3, line('$')) undo 1 call assert_equal(2, line('$')) undo 0 call assert_equal(1, line('$')) quit! endfunc " vim: shiftwidth=2 sts=2 expandtab