Skip to content

Commit fc7c28e

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 64c3c6e + b23279d commit fc7c28e

119 files changed

Lines changed: 4632 additions & 2035 deletions

Some content is hidden

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

.github/CODEOWNERS_vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ runtime/syntax/cabal.vim @coot
132132
runtime/syntax/cabalconfig.vim @coot
133133
runtime/syntax/cabalproject.vim @coot
134134
runtime/syntax/cs.vim @nickspoons
135-
runtime/syntax/cs.vim @nickspoons
136135
runtime/syntax/csh.vim @cecamp
137136
runtime/syntax/cucumber.vim @tpope
138137
runtime/syntax/datascript.vim @dpelle

Filelist

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,23 @@
33

44
# source files for all source archives
55
SRC_ALL = \
6-
.gitignore \
6+
.cirrus.yml \
7+
.coveralls.yml \
78
.gitattributes \
9+
.github/CODEOWNERS \
10+
.github/workflows/ci.yml \
11+
.github/workflows/codeql-analysis.yml \
12+
.gitignore \
813
.hgignore \
914
.lgtm.yml \
1015
.travis.yml \
11-
.cirrus.yml \
12-
.github/workflows/ci.yml \
13-
.github/workflows/codeql-analysis.yml \
14-
.github/CODEOWNERS \
1516
appveyor.yml \
1617
ci/appveyor.bat \
18+
ci/build-snd-dummy.sh \
19+
ci/config.mk*.sed \
1720
ci/if_ver*.vim \
1821
ci/load-snd-dummy.sh \
19-
ci/config.mk*.sed \
22+
ci/setup-xvfb.sh \
2023
src/Make_all.mak \
2124
src/README.md \
2225
src/alloc.h \

README_vim.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
![Vim Logo](https://github.com/vim/vim/blob/master/runtime/vimlogo.gif)
2-
3-
[![Github Build status](https://github.com/vim/vim/workflows/GitHub%20CI/badge.svg)](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22)
4-
[![Travis Build Status](https://travis-ci.org/vim/vim.svg?branch=master)](https://travis-ci.org/vim/vim)
5-
[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/o2qht2kjm02sgghk?svg=true)](https://ci.appveyor.com/project/chrisbra/vim)
6-
[![Cirrus Build Status](https://api.cirrus-ci.com/github/vim/vim.svg)](https://cirrus-ci.com/github/vim/vim)
7-
[![Coverage Status](https://codecov.io/gh/vim/vim/coverage.svg?branch=master)](https://codecov.io/gh/vim/vim?branch=master)
8-
[![Coverity Scan](https://scan.coverity.com/projects/241/badge.svg)](https://scan.coverity.com/projects/vim)
9-
[![Language Grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/vim/vim.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/vim/vim/context:cpp)
10-
[![Debian CI](https://badges.debian.net/badges/debian/testing/vim/version.svg)](https://buildd.debian.org/vim)
11-
[![Packages](https://repology.org/badge/tiny-repos/vim.svg)](https://repology.org/metapackage/vim)
12-
13-
For translations of this README see the end.
1+
[![Vim Logo](https://github.com/vim/vim/raw/master/runtime/vimlogo.gif)](https://www.vim.org)
2+
3+
[![Github Build status](https://github.com/vim/vim/workflows/GitHub%20CI/badge.svg)](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22) [![Travis Build Status](https://travis-ci.com/vim/vim.svg?branch=master)](https://travis-ci.com/github/vim/vim) [![Appveyor Build status](https://ci.appveyor.com/api/projects/status/o2qht2kjm02sgghk?svg=true)](https://ci.appveyor.com/project/chrisbra/vim) [![Cirrus Build Status](https://api.cirrus-ci.com/github/vim/vim.svg)](https://cirrus-ci.com/github/vim/vim) [![Coverage Status](https://codecov.io/gh/vim/vim/coverage.svg?branch=master)](https://codecov.io/gh/vim/vim?branch=master) [![Coverity Scan](https://scan.coverity.com/projects/241/badge.svg)](https://scan.coverity.com/projects/vim) [![Language Grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/vim/vim.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/vim/vim/context:cpp) [![Debian CI](https://badges.debian.net/badges/debian/testing/vim/version.svg)](https://buildd.debian.org/vim) [![Packages](https://repology.org/badge/tiny-repos/vim.svg)](https://repology.org/metapackage/vim) [![Fossies codespell report](https://fossies.org/linux/test/vim-master.tar.gz/codespell.svg)](https://fossies.org/linux/test/vim-master.tar.gz/codespell.html)
4+
5+
<sub>For translations of this README see the end.</sub>
146

157

168
## What is Vim? ##

runtime/compiler/ocaml.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
" Vim Compiler File
22
" Compiler: ocaml
33
" Maintainer: Markus Mottl <[email protected]>
4-
" URL: https://github.com/rgrinberg/vim-ocaml
4+
" URL: https://github.com/ocaml/vim-ocaml
55
" Last Change:
6+
" 2020 Mar 28 - Improved error format (Thomas Leonard)
67
" 2017 Nov 26 - Improved error format (Markus Mottl)
78
" 2013 Aug 27 - Added a new OCaml error format (Markus Mottl)
8-
" 2013 Jun 30 - Initial version (Marc Weber)
99
"
1010
" Marc Weber's comments:
1111
" Setting makeprg doesn't make sense, because there is ocamlc, ocamlopt,
@@ -21,6 +21,7 @@
2121
"
2222
" So having it here makes people opt-in
2323

24+
2425
if exists("current_compiler")
2526
finish
2627
endif
@@ -30,6 +31,7 @@ let s:cpo_save = &cpo
3031
set cpo&vim
3132

3233
CompilerSet errorformat =
34+
\%EFile\ \"%f\"\\,\ lines\ %*\\d-%l\\,\ characters\ %c-%*\\d:,
3335
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d:,
3436
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d\ %.%#,
3537
\%EFile\ \"%f\"\\,\ line\ %l\\,\ character\ %c:%m,

runtime/doc/cmdline.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 8.2. Last change: 2020 Sep 14
1+
*cmdline.txt* For Vim version 8.2. Last change: 2020 Dec 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -849,6 +849,16 @@ function |expand()|.
849849
file name n. See |:oldfiles| or |v:oldfiles| to get the
850850
number. *E809*
851851
{only when compiled with the |+eval| and |+viminfo| features}
852+
In |Vim9-script| # is used to start a comment, use %% for the alternate file
853+
name:
854+
% Is replaced with the current file name.
855+
%% Is replaced with the alternate file name. *:_%%* *c_%%*
856+
%%n (where n is a number) is replaced with *:_%%0* *:_%%n*
857+
the file name of buffer n. "%%0" is the same as "%%". *c_%%n*
858+
%%% Is replaced with all names in the argument *:_%%%* *c_%%%#*
859+
list concatenated, separated by spaces.
860+
%%<n (where n is a number > 0) is replaced with old *:_%%<* *c_%%<*
861+
file name n.
852862

853863
Note that these, except "#<n", give the file name as it was typed. If an
854864
absolute path is needed (when using the file name from a different directory),

runtime/doc/eval.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.2. Last change: 2020 Dec 22
1+
*eval.txt* For Vim version 8.2. Last change: 2020 Dec 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7483,24 +7483,24 @@ matchfuzzy({list}, {str} [, {dict}]) *matchfuzzy()*
74837483

74847484
matchfuzzypos({list}, {str} [, {dict}]) *matchfuzzypos()*
74857485
Same as |matchfuzzy()|, but returns the list of matched
7486-
strings and the list of character positions where characters
7487-
in {str} matches. You can use |byteidx()|to convert a
7488-
character position to a byte position.
7489-
7486+
strings, the list of character positions where characters
7487+
in {str} matches and a list of matching scores. You can
7488+
use |byteidx()|to convert a character position to a byte
7489+
position.
74907490

74917491
If {str} matches multiple times in a string, then only the
74927492
positions for the best match is returned.
74937493

74947494
If there are no matching strings or there is an error, then a
7495-
list with two empty list items is returned.
7495+
list with three empty list items is returned.
74967496

74977497
Example: >
74987498
:echo matchfuzzypos(['testing'], 'tsg')
7499-
< results in [['testing'], [[0, 2, 6]]] >
7499+
< results in [['testing'], [[0, 2, 6]], [99]] >
75007500
:echo matchfuzzypos(['clay', 'lacy'], 'la')
7501-
< results in [['lacy', 'clay'], [[0, 1], [1, 2]]] >
7501+
< results in [['lacy', 'clay'], [[0, 1], [1, 2]], [153, 133]] >
75027502
:echo [{'text': 'hello', 'id' : 10}]->matchfuzzypos('ll', {'key' : 'text'})
7503-
< results in [{'id': 10, 'text': 'hello'}] [[2, 3]]
7503+
< results in [[{'id': 10, 'text': 'hello'}], [[2, 3]], [127]]
75047504

75057505
matchlist({expr}, {pat} [, {start} [, {count}]]) *matchlist()*
75067506
Same as |match()|, but return a |List|. The first item in the
@@ -8972,7 +8972,7 @@ searchcount([{options}]) *searchcount()*
89728972
result. if search exceeded
89738973
total count, "total" value
89748974
becomes `maxcount + 1`
8975-
(default: 0)
8975+
(default: 99)
89768976
pos |List| `[lnum, col, off]` value
89778977
when recomputing the result.
89788978
this changes "current" result
@@ -10886,7 +10886,7 @@ timer_start({time}, {callback} [, {options}])
1088610886
is the timer ID. The callback is only invoked when Vim is
1088710887
waiting for input.
1088810888
If you want to show a message look at |popup_notification()|
10889-
to avoid intefering with what the user is doing.
10889+
to avoid interfering with what the user is doing.
1089010890

1089110891
{options} is a dictionary. Supported entries:
1089210892
"repeat" Number of times to repeat calling the
@@ -12969,7 +12969,7 @@ text...
1296912969
:exe[cute] {expr1} .. Executes the string that results from the evaluation
1297012970
of {expr1} as an Ex command.
1297112971
Multiple arguments are concatenated, with a space in
12972-
between. To avoid the extra space use the "."
12972+
between. To avoid the extra space use the ".."
1297312973
operator to concatenate strings into one argument.
1297412974
{expr1} is used as the processed command, command line
1297512975
editing keys are not recognized.

runtime/doc/helphelp.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*helphelp.txt* For Vim version 8.2. Last change: 2020 Dec 19
1+
*helphelp.txt* For Vim version 8.2. Last change: 2020 Dec 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -158,6 +158,9 @@ When no argument is given to |:help| the file given with the 'helpfile' option
158158
will be opened. Otherwise the specified tag is searched for in all "doc/tags"
159159
files in the directories specified in the 'runtimepath' option.
160160

161+
If you would like to open the help in the current window, see this tip:
162+
|help-curwin|.
163+
161164
The initial height of the help window can be set with the 'helpheight' option
162165
(default 20).
163166

runtime/doc/intro.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*intro.txt* For Vim version 8.2. Last change: 2020 Dec 19
1+
*intro.txt* For Vim version 8.2. Last change: 2020 Dec 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -678,8 +678,8 @@ Normal mode from any other mode. This can be used to make sure Vim is in
678678
Normal mode, without causing a beep like <Esc> would. However, this does not
679679
work in Ex mode. When used after a command that takes an argument, such as
680680
|f| or |m|, the timeout set with 'ttimeoutlen' applies.
681-
When focus is in a terminal window, CTRL-\ CTRL-N goes to Normal mode for only
682-
one command, see |t_CTRL-\_CTRL-N|.
681+
When focus is in a terminal window, CTRL-\ CTRL-N goes to Normal mode until an
682+
edit command is entered, see |t_CTRL-\_CTRL-N|.
683683

684684
*CTRL-\_CTRL-G* *i_CTRL-\_CTRL-G* *c_CTRL-\_CTRL-G* *v_CTRL-\_CTRL-G*
685685
The command CTRL-\ CTRL-G or <C-\><C-G> can be used to go to Insert mode when

runtime/doc/message.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*message.txt* For Vim version 8.2. Last change: 2020 Sep 07
1+
*message.txt* For Vim version 8.2. Last change: 2020 Dec 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -794,6 +794,9 @@ and the screen is about to be redrawn:
794794
-> Press <Enter> or <Space> to redraw the screen and continue, without that
795795
key being used otherwise.
796796
-> Press ':' or any other Normal mode command character to start that command.
797+
Note that after an external command some special keys, such as the cursor
798+
keys, may not work normally, because the terminal is still set to a state
799+
for executing the external command.
797800
-> Press 'k', <Up>, 'u', 'b' or 'g' to scroll back in the messages. This
798801
works the same way as at the |more-prompt|. Only works when 'compatible'
799802
is off and 'more' is on.

runtime/doc/os_vms.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_vms.txt* For Vim version 8.2. Last change: 2020 Jun 07
1+
*os_vms.txt* For Vim version 8.2. Last change: 2020 Dec 30
22

33

44
VIM REFERENCE MANUAL
@@ -72,7 +72,7 @@ See the file [.SRC]INSTALLVMS.TXT.
7272
4. Problems *vms-problems*
7373

7474
The code has been tested under Open VMS 6.2 - 8.2 on Alpha, VAX and IA64
75-
platforms with the DEC C compiler. It should work without big problems.
75+
platforms with the DEC C compiler. It should work without major problems.
7676
If your system does not have some include libraries you can tune up in
7777
OS_VMS_CONF.H file.
7878

@@ -765,6 +765,13 @@ GNU_TOOLS.ZIP package downloadable from http://www.polarhome.com/vim/
765765

766766
9. VMS related changes *vms-changes*
767767

768+
Version 8.2
769+
- make all changes needed for clean compile build of v8.2 on VMS on all platforms
770+
- test on VSI OpenVMS platforms
771+
- added XPM support - Motif GUI with toolbar on all platforms
772+
- XPM v3.4.11 libraries for IA64, AXP and VAX are added
773+
- start integrating the new test scripts
774+
768775
Version 8.1
769776
- make necessary changes to build v8.1 on VMS
770777

0 commit comments

Comments
 (0)