1
0
forked from aniani/vim

patch 8.2.2242: Vim9: bar line continuation does not work at script level

Problem:    Vim9: line continuation with bar does not work at script level.
Solution:   Check for Vim9 script.
This commit is contained in:
Bram Moolenaar
2020-12-29 11:15:01 +01:00
parent 864a28b6a6
commit 8242ebbdba
6 changed files with 43 additions and 27 deletions

View File

@@ -889,7 +889,8 @@ do_cmdline(
#else
0
#endif
, TRUE)) == NULL)
, in_vim9script() ? GETLINE_CONCAT_CONTBAR
: GETLINE_CONCAT_CONT)) == NULL)
{
// Don't call wait_return for aborted command line. The NULL
// returned for the end of a sourced file or executed function