mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.1263: Vim9: comperators use 'ignorecase' in Vim9 script
Problem: Vim9: comperators use 'ignorecase' in Vim9 script. Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0. (closes #6497)
This commit is contained in:
@@ -2017,9 +2017,6 @@ call_def_function(
|
||||
|
||||
typval_compare(tv1, tv2, exptype, ic);
|
||||
clear_tv(tv2);
|
||||
tv1->v_type = VAR_BOOL;
|
||||
tv1->vval.v_number = tv1->vval.v_number
|
||||
? VVAL_TRUE : VVAL_FALSE;
|
||||
--ectx.ec_stack.ga_len;
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user