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:
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user