summaryrefslogtreecommitdiffstats
path: root/runtime/doc/todo.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-08 21:51:59 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-08 21:51:59 +0000
commit2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b (patch)
tree193ef7f4cab9dd35f6a88f7767526bd8c4029465 /runtime/doc/todo.txt
parentb2810f123cbf4b585f8bc5f0e594a6690d95729a (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/todo.txt')
-rw-r--r--runtime/doc/todo.txt20
1 files changed, 16 insertions, 4 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 5b227e38e2..b18effdccd 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 8.2. Last change: 2021 Dec 30
+*todo.txt* For Vim version 8.2. Last change: 2022 Jan 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,15 +38,27 @@ browser use: https://github.com/vim/vim/issues/1234
*known-bugs*
-------------------- Known bugs and current work -----------------------
+Autoload import syntax:
+ import autoload "filename"
+ import autoload "filename" as name
+doesn't load the script yet
+ autoload items can be used without the "#dir#file#" prefix, but file.item
+ Add a test_override() item to load the script and compile functions the
+ moment it is encountered, so that types are checked.
+"vim9script autoload" in an autoload script, using "export" will prefix
+ "dir#file#" to the exported item.
+
Once Vim9 is stable:
-- Add the "vim9script" feature, can use has('vim9script')
- Remove TODO in vim9.txt
- Add all the error numbers in a good place in documentation.
+ done until E653
- Use Vim9 for runtime files.
Further Vim9 improvements, possibly after launch:
- Check performance with callgrind and kcachegrind.
-- better implementation for partial and tests for that.
+- Better implementation for partial and tests for that.
+- when using "const" mark the variable type as const with TTFLAG_CONST, so
+ that an error is given at compile time when trying to change it. E.g. for a
+ const list and trying to call add().
- Compile options that are an expression, e.g. "expr:" in 'spellsuggest',
'foldexpr', 'foldtext', 'printexpr', 'diffexpr', 'patchexpr', 'charconvert',
'balloonexpr', 'includeexpr', 'indentexpr', 'formatexpr'.