From 54373e2453077578b72ff0aa88b2ddc9dced4585 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 5 Aug 2026 23:48:00 -0400 Subject: [PATCH] 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. https://github.com/vim/vim/commit/5d2eb0fff0fbe905da2c57fd73f7f127a73d1c99 Co-authored-by: Bram Moolenaar --- src/nvim/eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/eval.c b/src/nvim/eval.c index abf9c325cb..52951e404b 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -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