0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -04:00

patch 8.2.2254: Vim9: bool option type is number

Problem:    Vim9: bool option type is number.
Solution:   Have get_option_value() return a different value for bool and
            number options. (closes #7583)
This commit is contained in:
Bram Moolenaar
2020-12-31 17:41:01 +01:00
parent ca2f7e7af3
commit dd1f426bd6
12 changed files with 104 additions and 56 deletions

View File

@@ -590,7 +590,7 @@ def Test_command_modifier_other()
unlet g:readFile
noswapfile edit XnoSwap
assert_equal(0, &l:swapfile)
assert_equal(false, &l:swapfile)
bwipe!
var caught = false