Mercurial > vim
comparison runtime/doc/vim9.txt @ 29290:dc4de65a7fb7
Update runtime files
Commit: https://github.com/vim/vim/commit/8a3b805c6c9cae341d560df9c3567ebbe42a7404
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 26 12:21:15 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Jun 2022 13:30:04 +0200 |
parents | 0fdf36de4018 |
children | f8116058ca76 |
comparison
equal
deleted
inserted
replaced
29289:430376616aac | 29290:dc4de65a7fb7 |
---|---|
1 *vim9.txt* For Vim version 8.2. Last change: 2022 Jun 20 | 1 *vim9.txt* For Vim version 8.2. Last change: 2022 Jun 25 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
35 | 35 |
36 A secondary goal is to avoid Vim-specific constructs and get closer to | 36 A secondary goal is to avoid Vim-specific constructs and get closer to |
37 commonly used programming languages, such as JavaScript, TypeScript and Java. | 37 commonly used programming languages, such as JavaScript, TypeScript and Java. |
38 | 38 |
39 The performance improvements can only be achieved by not being 100% backwards | 39 The performance improvements can only be achieved by not being 100% backwards |
40 compatible. For example, making function arguments available in the | 40 compatible. For example, making function arguments available in the "a:" |
41 "a:" dictionary adds quite a lot of overhead. In a Vim9 function this | 41 dictionary adds quite a lot of overhead. In a Vim9 function this dictionary |
42 dictionary is not available. Other differences are more subtle, such as how | 42 is not available. Other differences are more subtle, such as how errors are |
43 errors are handled. | 43 handled. |
44 | 44 |
45 The Vim9 script syntax and semantics are used in: | 45 The Vim9 script syntax and semantics are used in: |
46 - a function defined with the `:def` command | 46 - a function defined with the `:def` command |
47 - a script file where the first command is `vim9script` | 47 - a script file where the first command is `vim9script` |
48 - an autocommand defined in the context of the above | 48 - an autocommand defined in the context of the above |