diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-02-07 15:28:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-02-07 15:28:09 +0100 |
commit | c3fc75db023f2acd0b82b7eebffd7ed89e8001ed (patch) | |
tree | ccd13a21ec12f4b20124bedb7397896471ec8e9a /src/list.c | |
parent | 00385114dbd6a3d59516baa02e1ea86a1e7ee70e (diff) | |
download | vim-git-c3fc75db023f2acd0b82b7eebffd7ed89e8001ed.tar.gz |
patch 8.2.2480: Vim9: some errors for white space do not show contextv8.2.2480
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c index c51c99bc9..c93a66d81 100644 --- a/src/list.c +++ b/src/list.c @@ -1311,7 +1311,7 @@ eval_list(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int do_error) { if (vim9script && !IS_WHITE_OR_NUL((*arg)[1]) && (*arg)[1] != ']') { - semsg(_(e_white_space_required_after_str), ","); + semsg(_(e_white_space_required_after_str_str), ",", *arg); goto failret; } *arg = skipwhite(*arg + 1); |