Update runtime files

This commit is contained in:
Bram Moolenaar
2022-08-15 18:51:32 +01:00
parent 5a4fff4d94
commit e1f3fd1d02
24 changed files with 2998 additions and 1186 deletions

View File

@ -38,6 +38,11 @@ browser use: https://github.com/vim/vim/issues/1234
*known-bugs*
-------------------- Known bugs and current work -----------------------
Text props: Add "padding" argument - only for when using "text" and {col} is
zero. Use tp_len field and n_attr_skip. #10906
Graduate FEAT_TEXTOBJ ?
Further Vim9 improvements, possibly after launch:
- Use Vim9 for more runtime files.
- Check performance with callgrind and kcachegrind.
@ -67,18 +72,6 @@ Further Vim9 improvements, possibly after launch:
has(featureName), len(someString)
- Implement as part of an expression: ++expr, --expr, expr++, expr--.
Update list of features to vote on:
- Remove Athena item (won't happen)
- Remove "add open mode" (won't happen)
- Remove "editing of a hidden buffer" (done)
- Change "add IDE features" to "improve terminal debugger"
- Change "diff/merge capability for CVS" to "CVS and git"
- Remove "pre-compile them" from "improve the performance of Vim scripts"
- Add: multiple cursors, edit text in more than one place at a time
- Add: fast syntax highlighting with parser instead of regex patterns
- Add: virtual text, text properties can insert text in the line
- Add: start first line halfway, scroll per wrapped screen line
Popup windows:
- Preview popup not properly updated when it overlaps with completion menu.
(Yegappan Lakshmanan, 2021 May 22)
@ -192,6 +185,7 @@ Patches considered for including:
- use int instead of char_ for index #10818 needs a test
- Add "-n" option to xxd. #10599 needs a test
- allow for nesting of timeout, sketch in #10595
- Add setcmdline() #10869
Add 'splitscroll' #10682 Useful? Any trouble? Null Chilly says it's OK.
suggestion: names instead of numbers for the option value
@ -3958,15 +3952,16 @@ Vim script language:
can be the plugin name.
Perhaps also have a way to remove everything that the package added?
including autocommands.
7 Pre-parse or compile Vim scripts into a bytecode.
7 Pre-parse or compile Vim scripts into a bytecode, like :def functions.
Possibilities:
1. Put the bytecode with the original script, with an ":if
has('bytecode')" around it, so that it's only used with a Vim that
supports it. Update the code with a command, can be used in an
autocommand.
has('bytecode-1234')" around it, so that it's only used with a Vim that
supports the version. Update the code with a command, can be used in
an autocommand.
2. Use a ".vic" file (like Python use .pyc). Create it when writing a
.vim file. Problem: distribution.
3. Use a cache directory for each user. How to recognize which cached
file belongs to a sourced script?
.vim file. Problem: distribution, non-writable directory, etc.
3. Use a cache directory for each user. Disadvantage: cache lookup may
cost more time than bytecode wins.
7 Add argument to winwidth() to subtract the space taken by 'foldcolumn',
signs and/or 'number'.
6 Add ++ and -- operators? They only work on variables (lvals), how to