Skip to content

Commit c88f768

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 9084c14 + 2dfc229 commit c88f768

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1728
-842
lines changed

ci/config.mk.clang-12.sed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Clang 12 (or Apple clang 13) and later makes a warning '-Wcompound-token-split-by-macro' enable by default.
2-
/^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/
2+
/^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro -Wno-compound-token-split-by-macro/
33
/^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/

ci/config.mk.sed

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/^CFLAGS[[:blank:]]*=/s/$/ -Wall -Wextra -Wshadow -Werror -Wno-deprecated-declarations/
1+
/^CFLAGS[[:blank:]]*=/s/$/ -Wall -Wextra -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Werror -Wno-deprecated-declarations/
22
/^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=unused-function -Wno-shadow/
3-
/^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=unused-parameter/
3+
/^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=unused-parameter -Wno-strict-prototypes/

runtime/doc/builtin.txt

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.0. Last change: 2023 Aug 09
1+
*builtin.txt* For Vim version 9.0. Last change: 2023 Sep 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1857,7 +1857,7 @@ cosh({expr}) *cosh()*
18571857
Compute()->cosh()
18581858
18591859
1860-
count({comp}, {expr} [, {ic} [, {start}]]) *count()*
1860+
count({comp}, {expr} [, {ic} [, {start}]]) *count()* *E706*
18611861
Return the number of times an item with value {expr} appears
18621862
in |String|, |List| or |Dictionary| {comp}.
18631863

@@ -5054,12 +5054,14 @@ insert({object}, {item} [, {idx}]) *insert()*
50545054

50555055
Can also be used as a |method|: >
50565056
mylist->insert(item)
5057-
5058-
instanceof({object}, {class}) *instanceof()*
5059-
The result is a Number, which is |TRUE| when the {object} argument is a
5060-
direct or indirect instance of a |Class| specified by {class}.
5061-
When {class} is a |List| the function returns |TRUE| when {object} is an
5062-
instance of any of the specified classes.
5057+
<
5058+
*instanceof()* *E614* *E616* *E693*
5059+
instanceof({object}, {class})
5060+
The result is a Number, which is |TRUE| when the {object}
5061+
argument is a direct or indirect instance of a |Class|
5062+
specified by {class}.
5063+
When {class} is a |List| the function returns |TRUE| when
5064+
{object} is an instance of any of the specified classes.
50635065
Example: >
50645066
instanceof(animal, [Dog, Cat])
50655067
@@ -6691,6 +6693,7 @@ printf({fmt}, {expr1} ...) *printf()*
66916693
using a {n$} positional argument specifier. See |printf-$|.
66926694

66936695

6696+
*E1520*
66946697
The conversion specifiers and their meanings are:
66956698

66966699
*printf-d* *printf-b* *printf-B* *printf-o*
@@ -11106,6 +11109,8 @@ winaltkeys Compiled with 'winaltkeys' option.
1110611109
windows Compiled with support for more than one window.
1110711110
(always true)
1110811111
writebackup Compiled with 'writebackup' default on.
11112+
xattr Compiled with extended attributes support |xattr|
11113+
(currently only supported on Linux).
1110911114
xfontset Compiled with X fontset support |xfontset|.
1111011115
xim Compiled with X input method support |xim|.
1111111116
xpm Compiled with pixmap support.

runtime/doc/cmdline.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ An example for subtracting (which isn't very useful): >
788788
On this text:
789789
1 one ~
790790
2 two ~
791-
3 three FOLDED~
791+
3 three FOLDED ~
792792
4 four FOLDED ~
793793
5 five FOLDED ~
794794
6 six FOLDED ~

runtime/doc/editing.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 9.0. Last change: 2023 Sep 22
1+
*editing.txt* For Vim version 9.0. Last change: 2023 Sep 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -386,8 +386,8 @@ is to use "path\[[]abc]", this matches the file "path\[abc]".
386386

387387
*starstar-wildcard*
388388
Expanding "**" is possible on Unix, Win32, macOS and a few other systems (but
389-
it may depend on your 'shell' setting. It's known to work correctly for zsh; for
390-
bash this requires at least bash version >= 4.X).
389+
it may depend on your 'shell' setting on Unix and macOS. It's known to work
390+
correctly for zsh; for bash this requires at least bash version >= 4.X).
391391
This allows searching a directory tree. This goes up to 100 directories deep.
392392
Note there are some commands where this works slightly differently, see
393393
|file-searching|.
@@ -1097,6 +1097,13 @@ will get the ACL info of the original file.
10971097
The ACL info is also used to check if a file is read-only (when opening the
10981098
file).
10991099

1100+
*xattr* *E1506* *E1508* *E1509*
1101+
xattr stands for Extended Attributes. It is an advanced way to save metadata
1102+
alongside the file in the filesystem. It depends on the actual filesystem
1103+
being used and Vim supports it only on a Linux system.
1104+
Vim attempts to preserve the extended attribute info when writing a file.
1105+
The backup file will get the extended attribute of the original file.
1106+
11001107
*read-only-share*
11011108
When MS-Windows shares a drive on the network it can be marked as read-only.
11021109
This means that even if the file read-only attribute is absent, and the ACL

runtime/doc/eval.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2436,7 +2436,7 @@ v:progpath Contains the command with which Vim was invoked, in a form
24362436
".exe" is not added to v:progpath.
24372437
Read-only.
24382438

2439-
*v:python3_version* *python3-version-variable*
2439+
*v:python3_version* *python3-version-variable*
24402440
v:python3_version
24412441
Version of Python 3 that Vim was built against. When
24422442
Python is loaded dynamically (|python-dynamic|), this version
@@ -3140,6 +3140,10 @@ text...
31403140
< You may want to make a copy of a list to avoid this.
31413141
See |deepcopy()|.
31423142

3143+
*E1391* *E1392*
3144+
Locking and unlocking object and class variables is
3145+
currently NOT supported.
3146+
31433147

31443148
:unlo[ckvar][!] [depth] {name} ... *:unlockvar* *:unlo* *E1246*
31453149
Unlock the internal variable {name}. Does the

runtime/doc/filetype.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ So to enable this only for ruby, set the following variable: >
433433
:let g:ruby_exec = 1
434434
435435
If both, the global `plugin_exec` and the `<filetype>_exec` specific variable
436-
are set, the filetpe specific variable should have precedent.
436+
are set, the filetype specific variable should have precedent.
437437

438438
AWK *ft-awk-plugin*
439439

runtime/doc/options.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2854,7 +2854,8 @@ A jump table for the options with a short description can be found at |Q_op|.
28542854
When omitted a context of six lines is used.
28552855
When using zero the context is actually one,
28562856
since folds require a line in between, also
2857-
for a deleted line.
2857+
for a deleted line. Set it to a very large
2858+
value (999999) to disable folding completely.
28582859
See |fold-diff|.
28592860

28602861
iblank Ignore changes where lines are all blank. Adds
@@ -5020,6 +5021,8 @@ A jump table for the options with a short description can be found at |Q_op|.
50205021
"echo &key". This is to avoid showing it to someone who shouldn't
50215022
know. It also means you cannot see it yourself once you have set it,
50225023
be careful not to make a typing error!
5024+
You also cannot use |:set-=|, |:set+=|, |:set^=| on this option to
5025+
prevent an attacker from guessing substrings in your key.
50235026
You can use "&key" in an expression to detect whether encryption is
50245027
enabled. When 'key' is set it returns "*****" (five stars).
50255028

runtime/doc/pattern.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ match ASCII characters, as indicated by the range.
10801080

10811081
\(\) A pattern enclosed by escaped parentheses. */\(* */\(\)* */\)*
10821082
E.g., "\(^a\)" matches 'a' at the start of a line.
1083-
There can only be ten of these. You can use "\%(" to add more, but
1083+
There can only be nine of these. You can use "\%(" to add more, but
10841084
not counting it as a sub-expression.
10851085
*E51* *E54* *E55* *E872* *E873*
10861086

runtime/doc/repeat.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,8 +1149,8 @@ Profiling should give a good indication of where time is spent, but keep in
11491149
mind there are various things that may clobber the results:
11501150

11511151
- The accuracy of the time measured depends on the gettimeofday(), or
1152-
clock_gettime if available, system function. The accuracy ranges from 1/100
1153-
second to nanoseconds. With clock_gettime the times are displayed in
1152+
clock_gettime() if available, system function. The accuracy ranges from
1153+
1/100 second to nanoseconds. With clock_gettime() the times are displayed in
11541154
nanoseconds, otherwise microseconds. You can use `has("prof_nsec")`.
11551155

11561156
- Real elapsed time is measured, if other processes are busy they may cause

0 commit comments

Comments
 (0)