diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-06-02 05:53:31 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-06-02 06:06:34 +0800 |
commit | 6f87779857f1b7a86da9e53c117b5b678a2a3236 (patch) | |
tree | 7ad446bcee710203c9c02b180fdb3048909f8ce6 | |
parent | 7cbfbd3ae1fea80fd349d703041df480e55aed23 (diff) | |
download | rneovim-6f87779857f1b7a86da9e53c117b5b678a2a3236.tar.gz rneovim-6f87779857f1b7a86da9e53c117b5b678a2a3236.tar.bz2 rneovim-6f87779857f1b7a86da9e53c117b5b678a2a3236.zip |
vim-patch:8.2.4452: test for what 8.2.4436 fixes does not check for regression
Problem: Test for what 8.2.4436 fixes does not check for regression.
Solution: Set several options. (Ken Takata, closes vim/vim#9830)
https://github.com/vim/vim/commit/2dada73a4ebffe2582af472ce362abd3116b58c9
Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r-- | test/old/testdir/test_vartabs.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/old/testdir/test_vartabs.vim b/test/old/testdir/test_vartabs.vim index 5eea75299f..274531fdc1 100644 --- a/test/old/testdir/test_vartabs.vim +++ b/test/old/testdir/test_vartabs.vim @@ -446,14 +446,16 @@ func Test_shiftwidth_vartabstop() endfunc func Test_vartabstop_latin1() + throw "Skipped: Nvim does not support 'compatible'" let save_encoding = &encoding new set encoding=iso8859-1 - silent exe "norm :se \<C-A>\<C-C>" + set compatible linebreak list revins smarttab set vartabstop=400 exe "norm i00\t\<C-D>" bwipe! let &encoding = save_encoding + set nocompatible linebreak& list& revins& smarttab& vartabstop& endfunc |