1- *todo.txt* For Vim version 8.2. Last change: 2020 Jan 23
1+ *todo.txt* For Vim version 8.2. Last change: 2020 Feb 04
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -40,10 +40,44 @@ browser use: https://github.com/vim/vim/issues/1234
4040
4141Include ipv6 syntax changes? (DJ Lucas, #5360)
4242
43+ Add win_type(), which "popup" and "cmdline" as values?
44+
45+ Vim9 script:
46+ - test s:var += 'some'
47+ test exported += 'some'
48+ - implement default values for optional arguments
49+ Generate instructions at start of function, skip over if argument provided?
50+ - Disallow unlet for local/script/imported vars
51+ - :func inside vim9script must still use a:arg
52+ - Check that import in legacy script works and puts item in s:
53+ - Error in any command in "vim9script" aborts sourcing.
54+ - Find a way to test expressions in legacy and Vim9 script without duplication
55+ - Test each level of expressions properly, with type checking
56+ - Test the
57+ - Test try/catch and throw better, also nested.
58+ Test return inside try/finally jumps to finally and then returns.
59+ - call autoload function.
60+ - Type checking arguments when calling :def function
61+ - can use func as reference:
62+ def SomeFunc() ...
63+ map(list, SomeFunc)
64+ - define function and create funcref in one step:
65+ let ref = def(arg: type): rettype
66+ Also extends lambda
67+ - Test: Function declared inside a :def function is local, disappears at the
68+ end of the function. Unless g: is used, just like with variables.
69+ - Can we omit \ for line continuation inside (), {}, ?
70+ Requires parsing while reading a function. Like fgetline in do_one_cmd()?
71+ - implement :type
72+ - implement class
73+ - implement interface
74+ - predefined class: Promise<T>
75+ - import statement for type declaration?
76+ - Make accessing varargs faster: arg[expr]
77+ EVAL expr
78+ LOADVARARG (varags idx)
79+
4380Popup windows:
44- - Make it possible to put a terminal window in a popup. Would always grab key
45- input? Sort-of possible by creating a hidden terminal and opening a popup
46- with that buffer: #4063.
4781- Use popup (or popup menu) for command line completion
4882- When using a popup for the info of a completion menu, and there is not
4983 enough space, let the popup overlap with the menu. (#4544)
@@ -55,6 +89,8 @@ Popup windows:
5589- Figure out the size and position better if wrapping inserts indent
5690
5791Text properties:
92+ - Combining text property with 'cursorline' does not always work (Billie
93+ Cleek, #5533)
5894- Text properties spanning more than one line
5995- See remarks at top of src/textprop.c
6096
@@ -121,9 +157,8 @@ Terminal emulator window:
121157 conversions.
122158
123159Error numbers available:
124- E450, E451, E452,
125- E453, E454, E460, E489, E491, E565, E578, E610, E611, E653,
126- E654, E856, E857, E860, E861, E863, E889, E900
160+ E451, E452, E453, E454, E460, E489, E491, E565, E578, E610, E611, E653,
161+ E654, E856, E857, E860, E861, E900
127162
128163Patch to move duplicated code to a function. (Yegappan Lakshmanan, #5330)
129164
@@ -142,16 +177,20 @@ Needs better docs. Is there a better name?
142177
143178undo result wrong: Masato Nishihata, #4798
144179
180+ When 'lazyredraw' is set sometimes the title is not updated.
181+ (Jason Franklin, 2020 Feb 3) Looks like a race condition.
182+
145183Patch to add function to return the text used in the quickfix window.
146184(Yegappan, #5465)
147185
186+ Patch for Template string: #4491. New pull: #4634
187+ Implementation is too inefficient, avoid using lambda.
188+
148189Undo puts cursor in wrong line after "cG<Esc> " undo.
149190
150191:unmap <c-n> gives error but does remove the mapping. (Antony Scriven, 2019
151192Dec 19)
152193
153- Sound: support on Mac? Or does libcanberra work there?
154-
155194Patch to fix session file when using multiple tab pages. (Jason Franklin, 2019
156195May 20)
157196Also put :argadd commands at the start for all buffers, so that their order
@@ -194,6 +233,8 @@ Enable 'termbidi' if $VTE_VERSION >= 5703 ?
194233Universal solution to detect if t_RS is working, using cursor position.
195234Koichi Iwamoto, #2126
196235
236+ Sound: support on Mac? Or does libcanberra work there?
237+
197238Python 3.8 doesn't work. (Antonios Hadjigeorgalis, #5509)
198239
199240The :syntax cchar value can only be a single character. It would be useful to
@@ -204,6 +245,8 @@ It can replace the BeOS code, which is likely not used anymore.
204245Now on github: #1856. Updated Oct 2017
205246Got permission to include this under the Vim license.
206247
248+ "--cleanFOO" does not result in an error. (#5537)
249+
207250Add "t" action to settagstack(): truncate and add new entries. (#5405)
208251
209252Result of synID() sometimes wrong in help files. (#5252)
@@ -269,9 +312,6 @@ Patch by Alex Dobrynin, 2007 Jun 3. Also fixes other scroll wheel problems.
269312Add a WindowScrolled event. Trigger around the same time as CursorMoved.
270313Can be used to update highlighting. #3127 #5181
271314
272- Patch for Template string: #4491. New pull: #4634
273- Implementation is too inefficient, avoid using lambda.
274-
275315Incorrect formatting with autoindent. (Sebastian Gniazdowski, #4909)
276316
277317Patch to add the :bvimgrep command. (Christian Brabandt, 2014 Nov 12)
@@ -812,9 +852,6 @@ option_save({list}) *option_save()*
812852directory (Paulo Marcel Coelho Arabic, 2017 Oct 30, #2266)
813853Also see #1689.
814854
815- crash when removing an element while inside map(). (Nikolai Pavlov, 2018 Feb
816- 17, #2652)
817-
818855When 'virtualedit' is "all" and 'cursorcolumn' is set, the wrong column may be
819856highlighted. (van-de-bugger, 2018 Jan 23, #2576)
820857
0 commit comments