1- *todo.txt* For Vim version 8.2. Last change: 2020 Nov 19
1+ *todo.txt* For Vim version 8.2. Last change: 2020 Nov 28
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,17 +38,17 @@ browser use: https://github.com/vim/vim/issues/1234
3838 *known-bugs*
3939-------------------- Known bugs and current work -----------------------
4040
41- Coverity errors in October and November.
42-
4341Vim9 - Change
4442- Drop support for #{} early December. Close #7310
4543 -> Does it work to recognize lambda?
4644 {x: int -> x + 5}
4745 var int = 5
4846 {x: int, y: int}
4947Vim9 - Making everything work:
48+ - Compile: for [key, value] in items(map): Also support @r, $VAR, etc.
5049- Make map() give an error if the resulting type of the first argument is
51- wrong. Only works if the type is known?
50+ wrong. Only works if the type is known? Is this slow (need to go over all
51+ items)?
5252- Run the same tests in :def and Vim9 script, like in Test_expr7_not()
5353- need to check type when a declaration specifies a type: #6507
5454 let nr: number = 'asdf'
@@ -57,8 +57,6 @@ Vim9 - Making everything work:
5757 the script-local function, not a global one.
5858- Make sure that where a callback is expected a function can be used (without
5959 quotes). E.g. sort() and map(). Also at the script level.
60- - assignment to more complex lval: list[1][2][3] = 8 #7309
61- Also "list[0] += value". test in Test_assign_dict_unknown_type().
6260- ":put" with ISN_PUT does not handle range correctly, e.g. ":$-2put".
6361 Add command to parse range at runtime?
6462- When defining an :autocmd or :command, how to specify using Vim9 syntax?
@@ -77,17 +75,13 @@ Vim9 - Making everything work:
7775- Expand `= expr ` in :next, :argedit, :argadd, :argdelete, :drop
7876- Expand `= expr ` in :vimgrep, :vimgrepadd, :lvimgrep, :lvimgrepadd
7977- Expand `= expr ` in :mkspell
80- - Test that a function defined inside a :def function is local to that
81- function, g: functions can be defined and script-local functions cannot be
82- defined.
8378- Does this work already: can use func as reference:
8479 def SomeFunc() ...
8580 map(list, SomeFunc)
8681- Support passing v:none to use the default argument value. (#6504)
8782- make 0 == 'string' fail on the script level, like inside :def.
8883- Check that when using a user function name without prefix, it does not find
8984 a global function. Prefixing g: is required.
90- - Compile: for [key, value] in items(map)
9185- Need the equivalent of get_lval() and set_var_lval() to implement assignment
9286 to nested list and dict members.
9387 - Assignment to dict doesn't work:
@@ -127,8 +121,9 @@ Also:
127121- Test each level of expressions properly, with type checking
128122- Test try/catch and throw better, also nested.
129123 Test return inside try/finally jumps to finally and then returns.
130- - Test: Function declared inside a :def function is local, disappears at the
131- end of the function. Unless g: is used, just like with variables.
124+ - Test that a function defined inside a :def function is local to that
125+ function, g: functions can be defined and script-local functions cannot be
126+ defined.
132127- implement :type
133128- import type declaration?
134129- Future work: See | vim9-classes |
@@ -160,7 +155,6 @@ Popup windows:
160155 current window.
161156 ? - switch between current window and all popup windows
162157 Esc in popup window goes back to previous current window
163- - Cursor not updated before a redraw, making it jump. (#5943)
164158- Add a termcap entry for changing the cursor when it goes under the popup and
165159 back. like t_SI and t_EI (t_SU and t_EU, where "U" means under?)
166160- With terminal in popup, allow for popup_hide() to temporarily hide it.?
@@ -278,6 +272,9 @@ Was originally written by Felipe Morales.
278272
279273Remove SPACE_IN_FILENAME ? It is only used for completion.
280274
275+ Making breakat support multibyte characters (Yasuhiro Matsumoto, #6598)
276+ Scroll doesn't work correctly, why?
277+
281278Add 'termguiattr' option, use "gui=" attributes in the terminal? Would work
282279with 'termguicolors' . #1740
283280
@@ -292,9 +289,6 @@ Add an option to start_timer() to return from the input loop with K_IGNORE.
292289This is useful e.g. when a popup was created that disables mappings, we need
293290to return from vgetc() to make this happen. #7011
294291
295- Making breakat support multibyte characters (Yasuhiro Matsumoto, #6598)
296- Scroll doesn't work correctly, why?
297-
298292Expanding <mods> should put the tab number from cmdmod.tab before "tab".
299293Any way to convert "$" back by using a special value? (#6901)
300294
@@ -323,6 +317,9 @@ autocommands for the buffer lifecycle:
323317 BufIsRenamed (after buffer ID gets another name)
324318The buffer list and windows are locked, no changes possible
325319
320+ Add a ModeChanged autocommand that has an argument indicating the old and new
321+ mode, as what's returned from mode(). Also used for switching Terminal mode.
322+
326323Matchparen doesn't remove highlight after undo. (#7054)
327324Is OK when syntax HL is active.
328325
@@ -766,6 +763,7 @@ Make ":interactive !cmd" stop termcap mode, also when used in an autocommand.
766763
767764Add buffer argument to undotree(). (#4001)
768765
766+ Memory leak in test_debugger
769767Using uninitialized value in test_crypt (can't explain why).
770768Memory leak in test_terminal_fail
771769TODO: be able to run all parts of test_alot with valgrind separately
@@ -896,9 +894,6 @@ Try out background make plugin:
896894or asyncmake:
897895 https://github.com/yegappan/asyncmake
898896
899- Add a ModeChanged autocommand that has an argument indicating the old and new
900- mode, as what's returned from mode(). Also used for switching Terminal mode.
901-
902897Add an option with file patterns, to be used when unloading a buffer: If there
903898is a match, remove entries for the buffer from marks, jumplist, etc. To be
904899used for git temp files.
0 commit comments