Skip to content

Commit b305224

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 9227ed4 + ffec6dd commit b305224

101 files changed

Lines changed: 6231 additions & 2968 deletions

Some content is hidden

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

nsis/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Unpack the images:
7474
cd nsis
7575
unzip icons.zip
7676

77-
To build then, enter:
77+
Then build gvim.exe:
7878

7979
cd nsis
8080
makensis gvim.nsi

runtime/autoload/dist/ft.vim

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,17 @@ func dist#ft#FTent()
172172
setf dtd
173173
endfunc
174174

175+
func dist#ft#ExCheck()
176+
let lines = getline(1, min([line("$"), 100]))
177+
if exists('g:filetype_euphoria')
178+
exe 'setf ' . g:filetype_euphoria
179+
elseif match(lines, '^--\|^ifdef\>\|^include\>') > -1
180+
setf euphoria3
181+
else
182+
setf elixir
183+
endif
184+
endfunc
185+
175186
func dist#ft#EuphoriaCheck()
176187
if exists('g:filetype_euphoria')
177188
exe 'setf ' . g:filetype_euphoria

runtime/autoload/rubycomplete.vim

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: Mark Guzman <[email protected]>
44
" URL: https://github.com/vim-ruby/vim-ruby
55
" Release Coordinator: Doug Kearns <[email protected]>
6-
" Last Change: 2019 Feb 25
6+
" Last Change: 2020 Apr 12
77
" ----------------------------------------------------------------------------
88
"
99
" Ruby IRB/Complete author: Keiju ISHITSUKA([email protected])
@@ -501,13 +501,8 @@ class VimRubyCompletion
501501
return if rails_base == nil
502502
$:.push rails_base unless $:.index( rails_base )
503503

504-
rails_config = rails_base + "config/"
505-
rails_lib = rails_base + "lib/"
506-
$:.push rails_config unless $:.index( rails_config )
507-
$:.push rails_lib unless $:.index( rails_lib )
508-
509-
bootfile = rails_config + "boot.rb"
510-
envfile = rails_config + "environment.rb"
504+
bootfile = rails_base + "config/boot.rb"
505+
envfile = rails_base + "config/environment.rb"
511506
if File.exists?( bootfile ) && File.exists?( envfile )
512507
begin
513508
require bootfile

runtime/doc/arabic.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*arabic.txt* For Vim version 8.2. Last change: 2019 May 05
1+
*arabic.txt* For Vim version 8.2. Last change: 2021 Jun 22
22

33

44
VIM REFERENCE MANUAL by Nadim Shaikli
@@ -176,6 +176,13 @@ o Enable Arabic settings [short-cut]
176176
and its support is preferred due to its level of offerings.
177177
'arabic' when 'termbidi' is enabled only sets the keymap.
178178

179+
For vertical window isolation while setting 'termbidi' an LTR
180+
vertical separator like "l" or "𝖨" may be used. It may also be
181+
hidden by changing its color to the foreground color: >
182+
:set fillchars=vert:l
183+
:hi VertSplit ctermbg=White
184+
< Note that this is a workaround, not a proper solution.
185+
179186
If, on the other hand, you'd like to be verbose and explicit and
180187
are opting not to use the 'arabic' short-cut command, here's what
181188
is needed (i.e. if you use ':set arabic' you can skip this section) -

runtime/doc/change.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 8.2. Last change: 2021 Jun 10
1+
*change.txt* For Vim version 8.2. Last change: 2021 Jun 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -780,12 +780,15 @@ For compatibility with Vi these two exceptions are allowed:
780780
"\/{string}/" and "\?{string}?" do the same as "//{string}/r".
781781
"\&{string}&" does the same as "//{string}/".
782782
*pattern-delimiter* *E146*
783-
Instead of the '/' which surrounds the pattern and replacement string, you
784-
can use any other single-byte character, but not an alphanumeric character,
785-
'\', '"' or '|'. This is useful if you want to include a '/' in the search
786-
pattern or replacement string. Example: >
783+
Instead of the '/' which surrounds the pattern and replacement string, you can
784+
use another single-byte character. This is useful if you want to include a
785+
'/' in the search pattern or replacement string. Example: >
787786
:s+/+//+
788787
788+
You can use most characters, but not an alphanumeric character, '\', '"' or
789+
'|'. In Vim9 script you should not use '#' because it may be recognized as
790+
the start of a comment.
791+
789792
For the definition of a pattern, see |pattern|. In Visual block mode, use
790793
|/\%V| in the pattern to have the substitute work in the block only.
791794
Otherwise it works on whole lines anyway.

runtime/doc/eval.txt

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.2. Last change: 2021 Jun 07
1+
*eval.txt* For Vim version 8.2. Last change: 2021 Jun 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3034,6 +3034,8 @@ test_feedinput({string}) none add key sequence to input buffer
30343034
test_garbagecollect_now() none free memory right now for testing
30353035
test_garbagecollect_soon() none free memory soon for testing
30363036
test_getvalue({string}) any get value of an internal variable
3037+
test_gui_drop_files({list}, {row}, {col}, {mods})
3038+
none drop a list of files in a window
30373039
test_gui_mouse_event({button}, {row}, {col}, {repeated}, {mods})
30383040
none add a mouse event to the input buffer
30393041
test_ignore_error({expr}) none ignore a specific error
@@ -4872,6 +4874,8 @@ foldclosed({lnum}) *foldclosed()*
48724874
The result is a Number. If the line {lnum} is in a closed
48734875
fold, the result is the number of the first line in that fold.
48744876
If the line {lnum} is not in a closed fold, -1 is returned.
4877+
{lnum} is used like with |getline()|. Thus "." is the current
4878+
line, "'m" mark m, etc.
48754879

48764880
Can also be used as a |method|: >
48774881
GetLnum()->foldclosed()
@@ -4880,6 +4884,8 @@ foldclosedend({lnum}) *foldclosedend()*
48804884
The result is a Number. If the line {lnum} is in a closed
48814885
fold, the result is the number of the last line in that fold.
48824886
If the line {lnum} is not in a closed fold, -1 is returned.
4887+
{lnum} is used like with |getline()|. Thus "." is the current
4888+
line, "'m" mark m, etc.
48834889

48844890
Can also be used as a |method|: >
48854891
GetLnum()->foldclosedend()
@@ -4893,6 +4899,8 @@ foldlevel({lnum}) *foldlevel()*
48934899
returned for lines where folds are still to be updated and the
48944900
foldlevel is unknown. As a special case the level of the
48954901
previous line is usually available.
4902+
{lnum} is used like with |getline()|. Thus "." is the current
4903+
line, "'m" mark m, etc.
48964904

48974905
Can also be used as a |method|: >
48984906
GetLnum()->foldlevel()
@@ -5768,6 +5776,8 @@ getmatches([{win}]) *getmatches()*
57685776
|getmatches()| is useful in combination with |setmatches()|,
57695777
as |setmatches()| can restore a list of matches saved by
57705778
|getmatches()|.
5779+
If {win} is specified, use the window with this number or
5780+
window ID instead of the current window.
57715781
Example: >
57725782
:echo getmatches()
57735783
< [{'group': 'MyGroup1', 'pattern': 'TODO',
@@ -5868,8 +5878,10 @@ getqflist([{what}]) *getqflist()*
58685878
valid |TRUE|: recognized error message
58695879

58705880
When there is no error list or it's empty, an empty list is
5871-
returned. Quickfix list entries with non-existing buffer
5872-
number are returned with "bufnr" set to zero.
5881+
returned. Quickfix list entries with a non-existing buffer
5882+
number are returned with "bufnr" set to zero (Note: some
5883+
functions accept buffer number zero for the alternate buffer,
5884+
you may need to explicitly check for zero).
58735885

58745886
Useful application: Find pattern matches in multiple files and
58755887
do something with them: >
@@ -6013,12 +6025,12 @@ getregtype([{regname}]) *getregtype()*
60136025
Can also be used as a |method|: >
60146026
GetRegname()->getregtype()
60156027

6016-
gettabinfo([{arg}]) *gettabinfo()*
6017-
If {arg} is not specified, then information about all the tab
6018-
pages is returned as a |List|. Each List item is a |Dictionary|.
6019-
Otherwise, {arg} specifies the tab page number and information
6020-
about that one is returned. If the tab page does not exist an
6021-
empty List is returned.
6028+
gettabinfo([{tabnr}]) *gettabinfo()*
6029+
If {tabnr} is not specified, then information about all the
6030+
tab pages is returned as a |List|. Each List item is a
6031+
|Dictionary|. Otherwise, {tabnr} specifies the tab page
6032+
number and information about that one is returned. If the tab
6033+
page does not exist an empty List is returned.
60226034

60236035
Each List item is a |Dictionary| with the following entries:
60246036
tabnr tab page number.
@@ -6071,11 +6083,11 @@ gettabwinvar({tabnr}, {winnr}, {varname} [, {def}]) *gettabwinvar()*
60716083
< Can also be used as a |method|: >
60726084
GetTabnr()->gettabwinvar(winnr, varname)
60736085

6074-
gettagstack([{nr}]) *gettagstack()*
6075-
The result is a Dict, which is the tag stack of window {nr}.
6076-
{nr} can be the window number or the |window-ID|.
6077-
When {nr} is not specified, the current window is used.
6078-
When window {nr} doesn't exist, an empty Dict is returned.
6086+
gettagstack([{winnr}]) *gettagstack()*
6087+
The result is a Dict, which is the tag stack of window {winnr}.
6088+
{winnr} can be the window number or the |window-ID|.
6089+
When {winnr} is not specified, the current window is used.
6090+
When window {winnr} doesn't exist, an empty Dict is returned.
60796091

60806092
The returned dictionary contains the following entries:
60816093
curidx Current index in the stack. When at

runtime/doc/ft_ps1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*ps1.txt* A Windows PowerShell syntax plugin for Vim
1+
*ft_ps1.txt* A Windows PowerShell syntax plugin for Vim
22

33
Author: Peter Provost <https://www.github.com/PProvost>
44
License: Apache 2.0

runtime/doc/ft_raku.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim-raku.txt* The Raku programming language filetype
1+
*ft_raku.txt* The Raku programming language filetype
22

33
*vim-raku*
44

runtime/doc/index.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 8.2. Last change: 2021 May 27
1+
*index.txt* For Vim version 8.2. Last change: 2021 Jun 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1312,6 +1312,7 @@ tag command action ~
13121312
|:endtry| :endt[ry] end previous :try
13131313
|:endwhile| :endw[hile] end previous :while
13141314
|:enew| :ene[w] edit a new, unnamed buffer
1315+
|:eval| :ev[al] evaluate an expression and discard the result
13151316
|:ex| :ex same as ":edit"
13161317
|:execute| :exe[cute] execute result of expressions
13171318
|:exit| :exi[t] same as ":xit"

runtime/doc/motion.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ l or *l*
200200
*$* *<End>* *<kEnd>*
201201
$ or <End> To the end of the line. When a count is given also go
202202
[count - 1] lines downward, or as far is possible.
203-
|inclusive| motion. If a count of 2 of larger is
203+
|inclusive| motion. If a count of 2 or larger is
204204
given and the cursor is on the last line, that is an
205-
error an the cursor doesn't move.
205+
error and the cursor doesn't move.
206206
In Visual mode the cursor goes to just after the last
207207
character in the line.
208208
When 'virtualedit' is active, "$" may move the cursor

0 commit comments

Comments
 (0)