comparison runtime/doc/todo.txt @ 30634:f68f43043842

Update runtime files Commit: https://github.com/vim/vim/commit/f269eabc6c4f5bdcef989cd5b4b95ba8ccaa4d8a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 3 18:04:35 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Mon, 03 Oct 2022 19:15:04 +0200
parents 1e91e26ceebf
children 3295247d97a5
comparison
equal deleted inserted replaced
30633:a7462ca00059 30634:f68f43043842
1 *todo.txt* For Vim version 9.0. Last change: 2022 Sep 27 1 *todo.txt* For Vim version 9.0. Last change: 2022 Oct 03
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
36 browser use: https://github.com/vim/vim/issues/1234 36 browser use: https://github.com/vim/vim/issues/1234
37 (replace 1234 with the issue/pull number) 37 (replace 1234 with the issue/pull number)
38 *known-bugs* 38 *known-bugs*
39 -------------------- Known bugs and current work ----------------------- 39 -------------------- Known bugs and current work -----------------------
40 40
41 From test_global 41 'smoothscroll':
42 Found errors in Test_interrupt_global(): 42 - computing 'scrolloff' position row use w_skipcol
43 Run 1, 02:16:22 - 02:16:27: 43
44 command line..script /home/mool/vim/vim90/src/testdir/runtest.vim[469]..function RunTheTest[44]..Test_interrupt_global[13]..WaitForAssert[2]..<SNR>7_WaitForCommon[11]..<lambda>20 line 1: Pattern 'Interrupted' does not match 'Type :qa! and press...l changes and exit Vim 1,1 All' 44 Add a string to the 'display' option ("smoothscroll" ?) to make CTRL-E and
45 command line..script /home/mool/vim/vim90/src/testdir/runtest.vim[469]..function RunTheTest[44]..Test_interrupt_global[20]..WaitForAssert[2]..<SNR>7_WaitForCommon[11]..<lambda>21 line 1: Pattern 'Interrupted' does not match 'Entering Ex mode. Type "visual" to go to Normal mode.' 45 CTRL-Y scroll one screen line, also if this means the first line doesn't start
46 with the first character (like what happens with a last line that doesn't
47 fit). Display "<<<" at the start of the first visible line (like "@@@" is
48 displayed in the last line). (Arseny Nasokin, #5154)
49 Neovim PR: https://github.com/neovim/neovim/pull/11014
46 50
47 Use :defer command: 51 Use :defer command:
48 - Use "D" flag of writefile() and mkdir() in tests. 52 - Use "D" flag of writefile() and mkdir() in tests.
49 (testdir/test_e*.vim done) 53 (testdir/test_p*.vim done)
50 54
51 New Vim indent script: #11079 OK? 55 Fix for powershell: #11257
56
57 Change boolean 'splitscroll' into string 'splitkeep'. #11258
58
52 59
53 Further Vim9 improvements, possibly after launch: 60 Further Vim9 improvements, possibly after launch:
54 - For map(), reduce() and filter() use a specific implementation if the second
55 argument is a compiled function. #11163
56 - Use Vim9 for more runtime files. 61 - Use Vim9 for more runtime files.
57 - Check performance with callgrind and kcachegrind.
58 getline()/substitute()/setline() in #5632
59 - Better implementation for partial and tests for that.
60 - when using "const" mark the variable type as const with TTFLAG_CONST, so
61 that an error is given at compile time when trying to change it. E.g. for a
62 const list and trying to call add().
63 - Compile options that are an expression, e.g. "expr:" in 'spellsuggest',
64 'foldexpr', 'foldtext', 'printexpr', 'diffexpr', 'patchexpr', 'charconvert',
65 'balloonexpr', 'includeexpr', 'indentexpr', 'formatexpr'.
66 Give an error if compilation fails. (#7625)
67 Alternatively: Detect a compiled function call and skip the expression
68 evaluation.
69 Use the location where the option was set for deciding whether it's to be
70 evaluated in Vim9 script context.
71 - implement :type 62 - implement :type
72 - implement :enum 63 - implement :enum
73 - implement :class and :interface: See |vim9-classes| 64 - implement :class and :interface: See |vim9-classes|
74 - For range: make table of first ASCII character with flag to quickly check if
75 it can be a Vim9 command. E.g. "+" can, but "." can't.
76 - Inline call to map() and filter(), better type checking. 65 - Inline call to map() and filter(), better type checking.
77 - Make accessing varargs faster: arg[expr]
78 EVAL expr
79 LOADVARARG (varargs idx)
80 - When evaluating constants for script variables, some functions could work: 66 - When evaluating constants for script variables, some functions could work:
81 has(featureName), len(someString) 67 has(featureName), len(someString)
82 - Implement as part of an expression: ++expr, --expr, expr++, expr--. 68 - Implement as part of an expression: ++expr, --expr, expr++, expr--.
83 69
84 Popup windows: 70 Popup windows:
85 - Preview popup not properly updated when it overlaps with completion menu.
86 (Yegappan Lakshmanan, 2021 May 22)
87 - Scrollbar thumb sometimes not visible #10492
88 - Add a function to redraw a specific popup window. Esp. to be used when 71 - Add a function to redraw a specific popup window. Esp. to be used when
89 editing the command line, when screen updating doesn't happen. (Shougo) 72 editing the command line, when screen updating doesn't happen. (Shougo)
73 #10210 Probably need to update all popup windows (they may overlap)
74 If the display is scrolled need to redraw everything later.
90 - Add a flag to make a popup window focusable? 75 - Add a flag to make a popup window focusable?
91 CTRL-W P cycle over any preview window or focusable popup, end up back in 76 CTRL-W P cycle over any preview window or focusable popup, end up back in
92 current window. 77 current window.
93 ? - switch between current window and all popup windows 78 ? - switch between current window and all popup windows
94 Esc in popup window goes back to previous current window 79 Esc in popup window goes back to previous current window
111 - Implement flip option. 96 - Implement flip option.
112 - Make redrawing more efficient and avoid flicker: 97 - Make redrawing more efficient and avoid flicker:
113 - put popup menu also in popup_mask? 98 - put popup menu also in popup_mask?
114 - Match does not have right BG color if line length equals popup width. 99 - Match does not have right BG color if line length equals popup width.
115 (#5658) 100 (#5658)
116 - Any other commands to disable in a popup window?
117 Use ERROR_IF_POPUP_WINDOW for these.
118 - Figure out the size and position better if wrapping inserts indent 101 - Figure out the size and position better if wrapping inserts indent
119 102
120 'incsearch' with :s: 103 'incsearch' with :s:
121 - :s/foo using CTRL-G moves to another line, should not happen, or use the 104 - :s/foo using CTRL-G moves to another line, should not happen, or use the
122 correct line (it uses the last but one line) (Lifepillar, Aug 18, #3345) 105 correct line (it uses the last but one line) (Lifepillar, Aug 18, #3345)
201 Add BufDeletePost. #11041 184 Add BufDeletePost. #11041
202 185
203 Test property disappears when using CR twice in a row. OK when some text was 186 Test property disappears when using CR twice in a row. OK when some text was
204 entered. (#11151) 187 entered. (#11151)
205 188
206 Add a string to the 'display' option ("smoothscroll" ?) to make CTRL-E and
207 CTRL-Y scroll one screen line, also if this means the first line doesn't start
208 with the first character (like what happens with a last line that doesn't
209 fit). Display "<<<" at the start of the first visible line (like "@@@" is
210 displayed in the last line). (Arseny Nasokin, #5154)
211 Neovim PR: https://github.com/neovim/neovim/pull/11014
212
213 NFA regexp does not handle composing characters well: #10286 189 NFA regexp does not handle composing characters well: #10286
214 [ɔ̃] matches both ɔ and ɔ̃ 190 [ɔ̃] matches both ɔ and ɔ̃
215 \(ɔ\|ɔ̃\) matches ɔ and not ɔ̃ 191 \(ɔ\|ɔ̃\) matches ɔ and not ɔ̃
216 192
217 Improvement in terminal configuration mess: Request the terminfo entry from 193 Improvement in terminal configuration mess: Request the terminfo entry from
678 kept, which means part of the text isn't displayed. Better show all the text 654 kept, which means part of the text isn't displayed. Better show all the text
679 when possible. (Dylan Lloyd, #3973) 655 when possible. (Dylan Lloyd, #3973)
680 656
681 Make ":interactive !cmd" stop termcap mode, also when used in an autocommand. 657 Make ":interactive !cmd" stop termcap mode, also when used in an autocommand.
682 (#3692) 658 (#3692)
683
684 matchaddpos() gets slow with many matches. Proposal by Rick Howe, 2018 Jul
685 19.
686 659
687 Add something like 'fillchars' local to window, but allow for specifying a 660 Add something like 'fillchars' local to window, but allow for specifying a
688 highlight name. Esp. for the statusline. 661 highlight name. Esp. for the statusline.
689 And "extends" and "precedes" are also useful without 'list' set. Also in 662 And "extends" and "precedes" are also useful without 'list' set. Also in
690 'fillchars' or another option? 663 'fillchars' or another option?