comparison runtime/doc/vim9.txt @ 28010:c968191a8557

Update runtime files Commit: https://github.com/vim/vim/commit/1588bc8ebee22f2855f27273fc2234fff370f86c Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 8 21:35:07 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Tue, 08 Mar 2022 22:45:09 +0100
parents 1012048eed26
children dce918af0c00
comparison
equal deleted inserted replaced
28009:3bffa026c6d9 28010:c968191a8557
1 *vim9.txt* For Vim version 8.2. Last change: 2022 Feb 23 1 *vim9.txt* For Vim version 8.2. Last change: 2022 Mar 08
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1801 An important class that will be provided is "Promise". Since Vim is single 1801 An important class that will be provided is "Promise". Since Vim is single
1802 threaded, connecting asynchronous operations is a natural way of allowing 1802 threaded, connecting asynchronous operations is a natural way of allowing
1803 plugins to do their work without blocking the user. It's a uniform way to 1803 plugins to do their work without blocking the user. It's a uniform way to
1804 invoke callbacks and handle timeouts and errors. 1804 invoke callbacks and handle timeouts and errors.
1805 1805
1806 Some commands have already been reserved:
1807 *:class*
1808 *:endclass*
1809 *:abstract*
1810 *:enum*
1811 *:endenum*
1812 *:interface*
1813 *:endinterface*
1814 *:static*
1815 *:type*
1816
1806 Some examples: > 1817 Some examples: >
1807 1818
1808 abstract class Person 1819 abstract class Person
1809 static const prefix = 'xxx' 1820 static const prefix = 'xxx'
1810 var name: string 1821 var name: string