Mercurial > vim
comparison runtime/doc/repeat.txt @ 27043:15f40772e10a v8.2.4050
patch 8.2.4050: Vim9: need to prefix every item in an autoload script
Commit: https://github.com/vim/vim/commit/dc4451df61a6aa12a0661817b7094fb32f09e11d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 9 21:36:37 2022 +0000
patch 8.2.4050: Vim9: need to prefix every item in an autoload script
Problem: Vim9: need to prefix every item in an autoload script.
Solution: First step in supporting "vim9script autoload" and "import
autoload".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 09 Jan 2022 22:45:04 +0100 |
parents | edb7d53fc7e3 |
children | b19230a8d40a |
comparison
equal
deleted
inserted
replaced
27042:8fc14d120630 | 27043:15f40772e10a |
---|---|
363 version supports E999 will be given. You either need | 363 version supports E999 will be given. You either need |
364 to rewrite the script to make it work with an older | 364 to rewrite the script to make it work with an older |
365 Vim version, or update Vim to a newer version. See | 365 Vim version, or update Vim to a newer version. See |
366 |vimscript-version| for what changed between versions. | 366 |vimscript-version| for what changed between versions. |
367 | 367 |
368 :vim9s[cript] [noclear] *:vim9s* *:vim9script* | 368 :vim9s[cript] [noclear] [autoload] *:vim9s* *:vim9script* |
369 Marks a script file as containing |Vim9-script| | 369 Marks a script file as containing |Vim9-script| |
370 commands. Also see |vim9-namespace|. | 370 commands. Also see |vim9-namespace|. |
371 Must be the first command in the file. | 371 Must be the first command in the file. |
372 For [noclear] see |vim9-reload|. | 372 For [noclear] see |vim9-reload|. |
373 For [autoload] see |vim9-autoload|. | |
373 Without the |+eval| feature this changes the syntax | 374 Without the |+eval| feature this changes the syntax |
374 for some commands. | 375 for some commands. |
375 See |:vim9cmd| for executing one command with Vim9 | 376 See |:vim9cmd| for executing one command with Vim9 |
376 syntax and semantics. | 377 syntax and semantics. |
377 | 378 |