mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 9.0.1266: error for space before ": type" is inconsistent
Problem: Error for space before ": type" is inconsistent. Solution: Give E1059 in more places. (closes #11868)
This commit is contained in:
@@ -1363,8 +1363,8 @@ skip_var_one(char_u *arg, int include_type)
|
||||
|
||||
if (include_type && vim9)
|
||||
{
|
||||
if (*end == ':')
|
||||
end = skip_type(skipwhite(end + 1), FALSE);
|
||||
if (*skipwhite(end) == ':')
|
||||
end = skip_type(skipwhite(skipwhite(end) + 1), FALSE);
|
||||
}
|
||||
return end;
|
||||
}
|
||||
|
Reference in New Issue
Block a user