mirror of
https://github.com/neovim/neovim.git
synced 2026-08-15 20:09:41 +00:00
vim-patch:8.2.1204: Vim9: true and false not recognized in Vim9 script (#41185)
Problem: Vim9: true and false not recognized in Vim9 script.
Solution: Recognize true and false.
5d2eb0fff0
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -2785,7 +2785,7 @@ static int eval7(char **arg, typval_T *rettv, evalarg_T *const evalarg, bool wan
|
||||
*arg = skipwhite(*arg);
|
||||
ret = eval_func(arg, evalarg, s, len, rettv, flags, NULL);
|
||||
} else if (evaluate) {
|
||||
// get value of variable
|
||||
// get the value of a variable
|
||||
ret = eval_variable(s, len, rettv, NULL, true, false);
|
||||
} else {
|
||||
// skip the name
|
||||
|
||||
Reference in New Issue
Block a user