Mercurial > vim
diff src/errors.h @ 23938:2a885d095bff v8.2.2511
patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places
Commit: https://github.com/vim/vim/commit/39f3b1411068ff187b4f9f482b2d6b2c1e7a7268
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 14 12:57:36 2021 +0100
patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places
Problem: Vim9: cannot use Vim9 script syntax in some places.
Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
mean ":vim9cmd" instead of ":vim9script".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Feb 2021 13:00:04 +0100 |
parents | 4b417b776b95 |
children | 9fcd71d0db89 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -363,3 +363,5 @@ EXTERN char e_register_name_must_be_one_ INIT(= N_("E1162: Register name must be one character: %s")); EXTERN char e_variable_nr_type_mismatch_expected_str_but_got_str[] INIT(= N_("E1163: Variable %d: type mismatch, expected %s but got %s")); +EXTERN char e_vim9cmd_must_be_followed_by_command[] + INIT(= N_("E1164: vim9cmd must be followed by a command"));