Skip to content

Commit 42f62db

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents efd97fd + ac9c6d5 commit 42f62db

Some content is hidden

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

60 files changed

+1657
-286
lines changed

.appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ environment:
2929
# disabled
3030
# - FEATURE: TINY
3131
# - FEATURE: NORMAL
32-
# - FEATURE: BIG
3332

3433
matrix:
3534
fast_finish: true

.cirrus.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
#env:
2-
# CIRRUS_CLONE_DEPTH: 3
3-
# FEATURES: huge
4-
#
5-
#freebsd_task:
6-
# name: FreeBSD
7-
# matrix:
8-
# - name: FreeBSD 14.0
9-
# freebsd_instance:
10-
# image_family: freebsd-14-0
11-
# timeout_in: 20m
12-
# install_script:
13-
# - pkg install -y gettext
14-
# build_script:
15-
# - NPROC=$(getconf _NPROCESSORS_ONLN)
16-
# - ./configure --with-features=${FEATURES}
17-
# - make -j${NPROC}
18-
# test_script:
19-
# - src/vim --version
20-
# # run tests as user "cirrus" instead of root
21-
# - pw useradd cirrus -m
22-
# - chown -R cirrus:cirrus .
23-
# - sudo -u cirrus make test
1+
env:
2+
CIRRUS_CLONE_DEPTH: 3
3+
FEATURES: huge
4+
5+
freebsd_task:
6+
name: FreeBSD
7+
matrix:
8+
- name: FreeBSD 14.0
9+
freebsd_instance:
10+
image_family: freebsd-14-0
11+
timeout_in: 20m
12+
install_script:
13+
- pkg install -y gettext
14+
build_script:
15+
- NPROC=$(getconf _NPROCESSORS_ONLN)
16+
- ./configure --with-features=${FEATURES}
17+
- make -j${NPROC}
18+
test_script:
19+
- src/vim --version
20+
# run tests as user "cirrus" instead of root
21+
- pw useradd cirrus -m
22+
- chown -R cirrus:cirrus .
23+
- sudo -u cirrus make test

.codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ coverage:
55
default:
66
threshold: 0.05%
77

8+
comment: false
9+
810
# Files not run by tests
911
ignore:
1012
- "src/dosinst.c"

READMEdir/README_os390.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Change to the vim directory and do:
4646

4747
$ export CC=cc
4848
$ export _CC_CCMODE=1
49-
$./configure --with-features=big --without-x --enable-gui=no
49+
$./configure --with-features=normal --without-x --enable-gui=no
5050
$ cd src
5151
$ make
5252

runtime/autoload/netrw.vim

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3516,6 +3516,11 @@ fun! s:NetrwBookHistHandler(chg,curdir)
35163516
echo "bookmarked the current directory"
35173517
endif
35183518

3519+
try
3520+
call s:NetrwBookHistSave()
3521+
catch
3522+
endtry
3523+
35193524
elseif a:chg == 1
35203525
" change to the bookmarked directory
35213526
" call Decho("(user: <".v:count."gb>) change to the bookmarked directory",'~'.expand("<slnum>"))
@@ -3660,6 +3665,11 @@ fun! s:NetrwBookHistHandler(chg,curdir)
36603665
" call Decho("g:netrw_bookmarklist=".string(g:netrw_bookmarklist),'~'.expand("<slnum>"))
36613666
endif
36623667
" call Decho("resulting g:netrw_bookmarklist=".string(g:netrw_bookmarklist),'~'.expand("<slnum>"))
3668+
3669+
try
3670+
call s:NetrwBookHistSave()
3671+
catch
3672+
endtry
36633673
endif
36643674
call s:NetrwBookmarkMenu()
36653675
call s:NetrwTgtMenu()
@@ -7382,8 +7392,7 @@ fun! s:NetrwMarkFileDiff(islocal)
73827392
exe "NetrwKeepj e ".fnameescape(fname)
73837393
diffthis
73847394
elseif cnt == 2 || cnt == 3
7385-
vsplit
7386-
wincmd l
7395+
below vsplit
73877396
" call Decho("diffthis: ".fname,'~'.expand("<slnum>"))
73887397
exe "NetrwKeepj e ".fnameescape(fname)
73897398
diffthis
@@ -12044,9 +12053,9 @@ fun! s:NetrwBufRemover(bufid)
1204412053
" call Decho("buf#".a:bufid." has name <".bufname(a:bufid).">","~".expand("<slnum>"))
1204512054
" call Decho("buf#".a:bufid." has winid#".bufwinid(a:bufid),"~".expand("<slnum>"))
1204612055

12047-
if a:bufid > 1 && !buflisted(a:bufid) && bufname(a:bufid) == "" && bufwinid(a:bufid) == -1
12056+
if a:bufid > 1 && !buflisted(a:bufid) && bufloaded(a:bufid) && bufname(a:bufid) == "" && bufwinid(a:bufid) == -1
1204812057
" call Decho("(s:NetrwBufRemover) removing buffer#".a:bufid,"~".expand("<slnum>"))
12049-
exe "bd! ".a:bufid
12058+
exe "sil! bd! ".a:bufid
1205012059
endif
1205112060

1205212061
" call Dret("s:NetrwBufRemover")

runtime/doc/builtin.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6886,6 +6886,14 @@ printf({fmt}, {expr1} ...) *printf()*
68866886
< E1505: Invalid format specifier:
68876887
%1$d at width %2$d is: %01$*2$.3$d
68886888

6889+
*E1507*
6890+
This internal error indicates that the logic to
6891+
parse a positional format error ran into a problem
6892+
that couldn't be otherwise reported. Please file a
6893+
bug against vim if you run into this, copying the
6894+
exact format string and parameters that were used.
6895+
6896+
68896897
prompt_getprompt({buf}) *prompt_getprompt()*
68906898
Returns the effective prompt text for buffer {buf}. {buf} can
68916899
be a buffer name or number. See |prompt-buffer|.

runtime/doc/options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ Set using a variable with lambda expression: >
435435
let &tagfunc = L
436436
437437
In Vim9 script, in a compiled function, you can use a lambda, but a
438-
closured does not work, because the function will be called without the
438+
closure does not work, because the function will be called without the
439439
context of where it was defined.
440440

441441

runtime/doc/starting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1705,6 +1705,6 @@ most of the information will be restored).
17051705
If you get the |press-enter| prompt you can press "q"
17061706
and still get the prompt to enter a file number.
17071707
Use ! to abandon a modified buffer. |abandon|
1708-
{not when compiled with tiny or small features}
1708+
{not when compiled with tiny features}
17091709

17101710
vim:tw=78:ts=8:noet:ft=help:norl:

runtime/doc/tags

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4564,6 +4564,7 @@ E1503 builtin.txt /*E1503*
45644564
E1504 builtin.txt /*E1504*
45654565
E1505 builtin.txt /*E1505*
45664566
E1506 editing.txt /*E1506*
4567+
E1507 builtin.txt /*E1507*
45674568
E1508 editing.txt /*E1508*
45684569
E1509 editing.txt /*E1509*
45694570
E151 helphelp.txt /*E151*

runtime/doc/testing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Vim can be tested after building it, usually with "make test".
2121
The tests are located in the directory "src/testdir".
2222

2323
There are two types of tests added over time:
24-
test20.in oldest, only for tiny and small builds
24+
test20.in oldest, only for tiny builds
2525
test_something.vim new style tests
2626

2727
*new-style-testing*

0 commit comments

Comments
 (0)