mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
vim-patch:9.0.0370: cleaning up afterwards can make a function messy
Problem: Cleaning up afterwards can make a function messy.
Solution: Add the :defer command.
1d84f7608f
Omit EX_EXPR_ARG: Vim9 script only.
Make :def throw E319 to avoid confusing behavior.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -986,6 +986,8 @@ EXTERN const char e_maxmempat[] INIT(= N_("E363: pattern uses more memory than '
|
||||
EXTERN const char e_emptybuf[] INIT(= N_("E749: empty buffer"));
|
||||
EXTERN const char e_nobufnr[] INIT(= N_("E86: Buffer %" PRId64 " does not exist"));
|
||||
|
||||
EXTERN const char e_str_not_inside_function[] INIT(= N_("E193: %s not inside a function"));
|
||||
|
||||
EXTERN const char e_invalpat[] INIT(= N_("E682: Invalid search pattern or delimiter"));
|
||||
EXTERN const char e_bufloaded[] INIT(= N_("E139: File is loaded in another buffer"));
|
||||
EXTERN const char e_notset[] INIT(= N_("E764: Option '%s' is not set"));
|
||||
|
Reference in New Issue
Block a user