summaryrefslogtreecommitdiff
path: root/src/testdir/test_vartabs.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-23 10:52:41 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-23 10:52:41 +0000
commit2dada73a4ebffe2582af472ce362abd3116b58c9 (patch)
tree5e8c76395ca4f6ecfdd0fd880ada79d92a0e3fd2 /src/testdir/test_vartabs.vim
parent9cd4c0fb98cb4fe6164e4e1751c21a5a5229b9cc (diff)
downloadvim-git-2dada73a4ebffe2582af472ce362abd3116b58c9.tar.gz
patch 8.2.4452: test for what 8.2.4436 fixes does not check for regressionv8.2.4452
Problem: Test for what 8.2.4436 fixes does not check for regression. Solution: Set several options. (Ken Takata, closes #9830)
Diffstat (limited to 'src/testdir/test_vartabs.vim')
-rw-r--r--src/testdir/test_vartabs.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_vartabs.vim b/src/testdir/test_vartabs.vim
index 74b07ba14..e15a072f7 100644
--- a/src/testdir/test_vartabs.vim
+++ b/src/testdir/test_vartabs.vim
@@ -446,11 +446,12 @@ func Test_vartabstop_latin1()
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