Mercurial > vim
comparison src/errors.h @ 24776:7464d4c927f5 v8.2.2926
patch 8.2.2926: Vim9: no good error for using :legacy in a :def function
Commit: https://github.com/vim/vim/commit/c3cb1c92a335be818971acd89f631e82aa30ad3f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 2 16:47:53 2021 +0200
patch 8.2.2926: Vim9: no good error for using :legacy in a :def function
Problem: Vim9: no good error for using :legacy in a :def function.
Solution: Give an explicit error where :legacy is not working.
(closes #8309)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Jun 2021 17:00:04 +0200 |
parents | 68e3adbeaf20 |
children | 0bc60e26a2b5 |
comparison
equal
deleted
inserted
replaced
24775:f3e925a22651 | 24776:7464d4c927f5 |
---|---|
415 INIT(= N_("E1186: Expression does not result in a value: %s")); | 415 INIT(= N_("E1186: Expression does not result in a value: %s")); |
416 EXTERN char e_failed_to_source_defaults[] | 416 EXTERN char e_failed_to_source_defaults[] |
417 INIT(= N_("E1187: Failed to source defaults.vim")); | 417 INIT(= N_("E1187: Failed to source defaults.vim")); |
418 EXTERN char e_cannot_open_terminal_from_command_line_window[] | 418 EXTERN char e_cannot_open_terminal_from_command_line_window[] |
419 INIT(= N_("E1188: Cannot open a terminal from the command line window")); | 419 INIT(= N_("E1188: Cannot open a terminal from the command line window")); |
420 EXTERN char e_cannot_use_legacy_with_command_str[] | |
421 INIT(= N_("E1189: Cannot use :legacy with this command: %s")); |