mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3315: cannot use single quote in a float number for readability
Problem: Cannot use single quote in a float number for readability. Solution: Support single quotes like in numbers. (closes #8713)
This commit is contained in:
@@ -1247,7 +1247,7 @@ read_viminfo_varlist(vir_T *virp, int writing)
|
||||
(int)(tab - virp->vir_line + 1), TRUE);
|
||||
#ifdef FEAT_FLOAT
|
||||
else if (type == VAR_FLOAT)
|
||||
(void)string2float(tab + 1, &tv.vval.v_float);
|
||||
(void)string2float(tab + 1, &tv.vval.v_float, FALSE);
|
||||
#endif
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user