mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 10:26:31 +00:00
vim-patch:8.2.1080: Vim9: no line break allowed in a for loop
Problem: Vim9: no line break allowed in a for loop.
Solution: Skip line breaks in for command.
b7a78f7a67
Omit *_break_count and skip_for_lines(): Vim9 script only.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -494,7 +494,7 @@ static typval_T *eval_expr_no_emsg(struct debuggy *const bp)
|
||||
{
|
||||
// Disable error messages, a bad expression would make Vim unusable.
|
||||
emsg_off++;
|
||||
typval_T *const tv = eval_expr(bp->dbg_name);
|
||||
typval_T *const tv = eval_expr(bp->dbg_name, NULL);
|
||||
emsg_off--;
|
||||
return tv;
|
||||
}
|
||||
|
Reference in New Issue
Block a user