mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.0611: Vim9: no check for space before #comment
Problem: Vim9: no check for space before #comment. Solution: Add space checks.
This commit is contained in:
@@ -7903,7 +7903,7 @@ ex_findpat(exarg_T *eap)
|
||||
p = skipwhite(p);
|
||||
|
||||
// Check for trailing illegal characters
|
||||
if (!ends_excmd(*p))
|
||||
if (!ends_excmd2(eap->arg, p))
|
||||
eap->errmsg = e_trailing;
|
||||
else
|
||||
eap->nextcmd = check_nextcmd(p);
|
||||
|
Reference in New Issue
Block a user