1
0
forked from aniani/vim

patch 8.2.0602: :unlet $VAR does not work properly

Problem:    :unlet $VAR does not work properly.
Solution:   Make ":lockvar $VAR" fail.  Check the "skip" flag.
This commit is contained in:
Bram Moolenaar
2020-04-19 17:24:53 +02:00
parent d72c1bf0a6
commit 7e0868efcf
4 changed files with 52 additions and 20 deletions

View File

@@ -1749,6 +1749,7 @@ EXTERN char e_endif_without_if[] INIT(= N_("E580: :endif without :if"));
EXTERN char e_continue[] INIT(= N_("E586: :continue without :while or :for"));
EXTERN char e_break[] INIT(= N_("E587: :break without :while or :for"));
EXTERN char e_nowhitespace[] INIT(= N_("E274: No white space allowed before parenthesis"));
EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s"));
#endif
#ifdef FEAT_GUI_MAC