Mercurial > vim
diff src/errors.h @ 23877:85cf06ddb2a8 v8.2.2480
patch 8.2.2480: Vim9: some errors for white space do not show context
Commit: https://github.com/vim/vim/commit/c3fc75db023f2acd0b82b7eebffd7ed89e8001ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 15:28:09 2021 +0100
patch 8.2.2480: Vim9: some errors for white space do not show context
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Feb 2021 15:30:03 +0100 |
parents | 5a4f9c5c1b99 |
children | 6559c0d6eb4c |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -175,8 +175,8 @@ EXTERN char e_separator_mismatch_str[] INIT(= N_("E1067: Separator mismatch: %s")); EXTERN char e_no_white_space_allowed_before_str[] INIT(= N_("E1068: No white space allowed before '%s'")); -EXTERN char e_white_space_required_after_str[] - INIT(= N_("E1069: White space required after '%s'")); +EXTERN char e_white_space_required_after_str_str[] + INIT(= N_("E1069: White space required after '%s': %s")); EXTERN char e_missing_from[] INIT(= N_("E1070: Missing \"from\"")); EXTERN char e_invalid_string_after_from[]