1
0
forked from aniani/vim

Update runtime files

This commit is contained in:
Bram Moolenaar
2022-08-19 17:15:35 +01:00
parent 13ed494bb5
commit e80086446c
35 changed files with 1340 additions and 2458 deletions

View File

@@ -4399,8 +4399,11 @@ has({feature} [, {check}])
has_key({dict}, {key}) *has_key()*
The result is a Number, which is TRUE if |Dictionary| {dict}
has an entry with key {key}. FALSE otherwise. The {key}
argument is a string.
has an entry with key {key}. FALSE otherwise.
The {key} argument is a string. In |Vim9| script a number is
also accepted (and converted to a string) but no other types.
In legacy script the usual automatic conversion to string is
done.
Can also be used as a |method|: >
mydict->has_key(key)

View File

@@ -799,7 +799,8 @@ A jump table for the options with a short description can be found at |Q_op|.
When on, Vim will change the current working directory whenever you
open a file, switch buffers, delete a buffer or open/close a window.
It will change to the directory containing the file which was opened
or selected.
or selected. When a buffer has no name it also has no directory, thus
the current directory won't change when navigating to it.
Note: When this option is on some plugins may not work.
*'autoshelldir'* *'asd'* *'noautoshelldir'* *'noasd'*

View File

@@ -4905,6 +4905,7 @@ Before the color scheme will be loaded all default color list scripts
autocommand event is triggered. After the color scheme has been loaded the
|ColorScheme| autocommand event is triggered.
*colorscheme-override*
If a color scheme is almost right, you can add modifications on top of it by
using the |ColorScheme| autocommand. For example, to remove the background
color (can make it transparent in some terminals): >

View File

@@ -6229,6 +6229,7 @@ collate-variable eval.txt /*collate-variable*
color-schemes syntax.txt /*color-schemes*
color-xterm syntax.txt /*color-xterm*
coloring syntax.txt /*coloring*
colorscheme-override syntax.txt /*colorscheme-override*
colortest.vim syntax.txt /*colortest.vim*
command-attributes map.txt /*command-attributes*
command-block vim9.txt /*command-block*

View File

@@ -41,8 +41,6 @@ browser use: https://github.com/vim/vim/issues/1234
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.