]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0848: if_lua: v:false/v:true are not evaluated to boolean v9.1.0848
authorzeertzjq <zeertzjq@outlook.com>
Sat, 9 Nov 2024 17:30:10 +0000 (18:30 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 9 Nov 2024 17:31:08 +0000 (18:31 +0100)
commit50732c7ba648f955ba027e6386745ea37acf007b
tree6bff28a68defe42070bcf3fd737e2309c7dd7da6
parenta14c457cad99621db7950b78e7d257c300b7d897
patch 9.1.0848: if_lua: v:false/v:true are not evaluated to boolean

Problem:  if_lua: v:false/v:true are not evaluated to boolean
Solution: Use lua_pushboolean() instead of lua_pushinteger().
          (zeertzjq)

fixes: #15994
closes: #11419

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/if_lua.c
src/testdir/test_lua.vim
src/testdir/test_python3.vim
src/version.c