diff options
Diffstat (limited to 'runtime/doc/vim9.txt')
-rw-r--r-- | runtime/doc/vim9.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt index 1877129041..5a0e5bf880 100644 --- a/runtime/doc/vim9.txt +++ b/runtime/doc/vim9.txt @@ -1,4 +1,4 @@ -*vim9.txt* For Vim version 8.2. Last change: 2022 Apr 28 +*vim9.txt* For Vim version 8.2. Last change: 2022 May 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -294,7 +294,8 @@ You can use an autoload function if needed, or call a legacy function and have Reloading a Vim9 script clears functions and variables by default ~ *vim9-reload* *E1149* *E1150* When loading a legacy Vim script a second time nothing is removed, the -commands will replace existing variables and functions and create new ones. +commands will replace existing variables and functions, create new ones, and +leave removed things hanging around. When loading a Vim9 script a second time all existing script-local functions and variables are deleted, thus you start with a clean slate. This is useful |