0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.1246: Vim9: comment after assignment doesn't work

Problem:    Vim9: comment after assignment doesn't work.
Solution:   Skip over white space. (closes #6481)
This commit is contained in:
Bram Moolenaar
2020-07-19 17:17:02 +02:00
parent f398238a37
commit b209750b5e
3 changed files with 21 additions and 3 deletions

View File

@@ -5706,7 +5706,7 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx)
goto theend;
}
ret = end;
ret = skipwhite(end);
theend:
vim_free(name);