0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.2262: Vim9: converting bool to string prefixes v:

Problem:    Vim9: converting bool to string prefixes v:.
Solution:   Do not use the v: prefix.
This commit is contained in:
Bram Moolenaar
2021-01-01 15:11:04 +01:00
parent d5ea8f08f7
commit a8b8af19e4
4 changed files with 13 additions and 6 deletions

View File

@@ -2068,8 +2068,8 @@ get_var_special_name(int nr)
{
switch (nr)
{
case VVAL_FALSE: return "v:false";
case VVAL_TRUE: return "v:true";
case VVAL_FALSE: return in_vim9script() ? "false" : "v:false";
case VVAL_TRUE: return in_vim9script() ? "true" : "v:true";
case VVAL_NONE: return "v:none";
case VVAL_NULL: return "v:null";
}