diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-03 15:55:10 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-03 15:55:10 +0100 |
commit | b0d8182fa39f2c9403f5f9a0663589fcab43a6c8 (patch) | |
tree | 85ed868b078d798c371fe6bd2b09ce2a8dbff3a1 /src/testdir/test_vim9_builtin.vim | |
parent | 31a201a04aa95708af5d62070d2d397a201cc1a5 (diff) |
patch 8.2.2285: Vim9: cannot set an option to a falsev8.2.2285
Problem: Vim9: cannot set an option to a false.
Solution: For VAR_BOOL use string "0". (closes #7603)
Diffstat (limited to 'src/testdir/test_vim9_builtin.vim')
-rw-r--r-- | src/testdir/test_vim9_builtin.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_builtin.vim b/src/testdir/test_vim9_builtin.vim index 74031d4d09..4eb2d76dfd 100644 --- a/src/testdir/test_vim9_builtin.vim +++ b/src/testdir/test_vim9_builtin.vim @@ -662,6 +662,8 @@ def Test_setbufvar() settabwinvar(1, 1, '&ts', 15) &ts->assert_equal(15) setlocal ts=8 + settabwinvar(1, 1, '&list', false) + &list->assert_equal(false) settabwinvar(1, 1, '&list', true) &list->assert_equal(true) setlocal list& |