Skip to content

Commit a4cb623

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 032b103 + 6d585f4 commit a4cb623

116 files changed

Lines changed: 4214 additions & 3254 deletions

Some content is hidden

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

Filelist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,15 @@ SRC_ALL = \
6868
src/gui_beval.c \
6969
src/hardcopy.c \
7070
src/hashtab.c \
71+
src/help.c \
7172
src/highlight.c \
7273
src/indent.c \
7374
src/insexpand.c \
7475
src/json.c \
7576
src/json_test.c \
7677
src/kword_test.c \
7778
src/list.c \
79+
src/locale.c \
7880
src/keymap.h \
7981
src/macros.h \
8082
src/main.c \
@@ -240,11 +242,13 @@ SRC_ALL = \
240242
src/proto/gui_beval.pro \
241243
src/proto/hardcopy.pro \
242244
src/proto/hashtab.pro \
245+
src/proto/help.pro \
243246
src/proto/highlight.pro \
244247
src/proto/indent.pro \
245248
src/proto/insexpand.pro \
246249
src/proto/json.pro \
247250
src/proto/list.pro \
251+
src/proto/locale.pro \
248252
src/proto/main.pro \
249253
src/proto/map.pro \
250254
src/proto/mark.pro \

runtime/autoload/decada.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function decada#Unit_Name () dict " {{{1
2525
" Convert filename into acs unit:
2626
" 1: remove the file extenstion.
2727
" 2: replace all double '_' or '-' with an dot (which denotes a separate)
28-
" 3: remove a trailing '_' (wich denotes a specification)
28+
" 3: remove a trailing '_' (which denotes a specification)
2929
return substitute (substitute (expand ("%:t:r"), '__\|-', ".", "g"), '_$', "", '')
3030
endfunction decada#Unit_Name " }}}1
3131

runtime/doc/arabic.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Arabic requires ISO-8859-6 as well as Presentation Form-B fonts
7777
(without Form-B, Arabic will _NOT_ be usable). It is highly
7878
recommended that users search for so-called 'ISO-10646-1' fonts.
7979
Do an Internet search or check www.arabeyes.org for further
80-
info on where to attain the necessary Arabic fonts.
80+
info on where to obtain the necessary Arabic fonts.
8181

8282

8383
Font Installation
@@ -123,7 +123,7 @@ o Setting the appropriate character Encoding
123123
>
124124
:set encoding=utf-8
125125
<
126-
to your .vimrc file (entering the command manually into you Vim
126+
to your .vimrc file (entering the command manually into your Vim
127127
window is highly discouraged). In short, include ':set
128128
encoding=utf-8' to your .vimrc file.
129129

runtime/doc/change.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,7 @@ Some examples:
17551755
Automatic formatting *auto-format* *autoformat*
17561756

17571757
When the 'a' flag is present in 'formatoptions' text is formatted
1758-
automatically when inserting text or deleting text. This works nice for
1758+
automatically when inserting text or deleting text. This works nicely for
17591759
editing text paragraphs. A few hints on how to use this:
17601760

17611761
- You need to properly define paragraphs. The simplest is paragraphs that are

runtime/doc/cmdline.txt

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 8.2. Last change: 2020 Apr 23
1+
*cmdline.txt* For Vim version 8.2. Last change: 2020 Jul 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -876,7 +876,7 @@ Also see |`=|.
876876
*:<cword>* *<cword>* *:<cWORD>* *<cWORD>*
877877
*:<cexpr>* *<cexpr>* *:<cfile>* *<cfile>*
878878
*:<afile>* *<afile>* *:<abuf>* *<abuf>*
879-
*:<amatch>* *<amatch>*
879+
*:<amatch>* *<amatch>* *:<stack>* *<stack>*
880880
*:<sfile>* *<sfile>* *:<slnum>* *<slnum>*
881881
*:<sflnum>* *<sflnum>* *E499* *E500*
882882
Note: these are typed literally, they are not special keys!
@@ -903,12 +903,16 @@ Note: these are typed literally, they are not special keys!
903903
events).
904904
<sfile> When executing a ":source" command, is replaced with the
905905
file name of the sourced file. *E498*
906-
When executing a function, is replaced with:
907-
"function {function-name}[{lnum}]"
908-
function call nesting is indicated like this:
909-
"function {function-name1}[{lnum}]..{function-name2}[{lnum}]"
906+
When executing a function, is replaced with the call stack,
907+
as with <stack> (this is for backwards compatibility, using
908+
<stack> is preferred).
910909
Note that filename-modifiers are useless when <sfile> is
911-
used inside a function.
910+
not used inside a script.
911+
<stack> is replaced with the call stack, using
912+
"function {function-name}[{lnum}]" for a function line
913+
and "script {file-name}[{lnum}]" for a script line, and
914+
".." in between items. E.g.:
915+
"function {function-name1}[{lnum}]..{function-name2}[{lnum}]"
912916
<slnum> When executing a ":source" command, is replaced with the
913917
line number. *E842*
914918
When executing a function it's the line number relative to

runtime/doc/digraph.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*digraph.txt* For Vim version 8.2. Last change: 2019 May 05
1+
*digraph.txt* For Vim version 8.2. Last change: 2020 Jul 16
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -33,6 +33,8 @@ An alternative is using the 'keymap' option.
3333
it is the Unicode character, see |digraph-encoding|.
3434
Example: >
3535
:digr e: 235 a: 228
36+
< You can use `:exe` to enter a hex number: >
37+
:exe 'digr += ' .. 0x2A72
3638
< Avoid defining a digraph with '_' (underscore) as the
3739
first character, it has a special meaning in the
3840
future.

runtime/doc/eval.txt

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

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1994,6 +1994,8 @@ v:mouse_col Column number for a mouse click obtained with |getchar()|.
19941994
*v:none* *none-variable* *None*
19951995
v:none An empty String. Used to put an empty item in JSON. See
19961996
|json_encode()|.
1997+
This can also be used as a function argument to use the
1998+
default value, see |none-function_argument|.
19971999
When used as a number this evaluates to zero.
19982000
When used as a string this evaluates to "v:none". >
19992001
echo v:none
@@ -11727,7 +11729,7 @@ The argument default expressions are evaluated at the time of the function
1172711729
call, not definition. Thus it is possible to use an expression which is
1172811730
invalid the moment the function is defined. The expressions are also only
1172911731
evaluated when arguments are not specified during a call.
11730-
11732+
*none-function_argument*
1173111733
You can pass |v:none| to use the default expression. Note that this means you
1173211734
cannot pass v:none as an ordinary value when an argument has a default
1173311735
expression.

runtime/doc/ft_sql.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ can create any of the following: >
312312
$VIM/vimfiles/indent/sqlite.vim
313313
314314
No changes are necessary to the SQLSetType function. It will automatically
315-
pickup the new SQL files and load them when you issue the SQLSetType command.
315+
pick up the new SQL files and load them when you issue the SQLSetType command.
316316

317317

318318
==============================================================================
@@ -519,7 +519,7 @@ beginning with those characters. >
519519
4.3.2 Column Completion: *sql-completion-columns*
520520
521521
The SQL completion plugin can also display a list of columns for particular
522-
tables. The column completion is trigger via <C-C>c.
522+
tables. The column completion is triggered via <C-C>c.
523523

524524
NOTE: The following example uses <Right> to trigger a column list while
525525
the popup window is active.
@@ -727,7 +727,7 @@ your platform (often a case on *nix) you define the following variable in
727727
your |vimrc|: >
728728
let g:omni_sql_no_default_maps = 1
729729
730-
Do no edit ftplugin/sql.vim directly! If you change this file your changes
730+
Do not edit ftplugin/sql.vim directly! If you change this file your changes
731731
will be over written on future updates. Vim has a special directory structure
732732
which allows you to make customizations without changing the files that are
733733
included with the Vim distribution. If you wish to customize the maps

runtime/doc/map.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -843,11 +843,10 @@ When modifyOtherKeys is enabled you can map <C-[> and <C-S-{>: >
843843
imap <C-S-{> {{{
844844
Without modifyOtherKeys <C-[> and <C-S-{> are indistinguishable from Esc.
845845

846-
A known side effect effect is that in Insert mode the raw escape sequence is
847-
inserted after the CTRL-V key. This can be used to check whether
848-
modifyOtherKeys is enabled: In Insert mode type CTRL-SHIFT-V CTRL-V, if you
849-
get one byte then modifyOtherKeys is off, if you get <1b>27;5;118~ then it is
850-
on.
846+
A known side effect is that in Insert mode the raw escape sequence is inserted
847+
after the CTRL-V key. This can be used to check whether modifyOtherKeys is
848+
enabled: In Insert mode type CTRL-SHIFT-V CTRL-V, if you get one byte then
849+
modifyOtherKeys is off, if you get <1b>27;5;118~ then it is on.
851850

852851
When the 'esckeys' option is off, then modifyOtherKeys will be disabled in
853852
Insert mode to avoid every key with a modifier causing Insert mode to end.

runtime/doc/mbyte.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ There are several ways to enter multi-byte characters:
128128
- For MS-Windows IME can be used. See |IME|.
129129
- For all systems keymaps can be used. See |mbyte-keymap|.
130130

131-
The options 'iminsert', 'imsearch' and 'imcmdline' can be used to chose
131+
The options 'iminsert', 'imsearch' and 'imcmdline' can be used to choose
132132
the different input methods or disable them temporarily.
133133

134134
==============================================================================
@@ -141,8 +141,8 @@ in, or just use a certain locale inside Vim.
141141

142142
WHAT IS A LOCALE? *locale*
143143

144-
There are many of languages in the world. And there are different cultures
145-
and environments at least as much as the number of languages. A linguistic
144+
There are many languages in the world. And there are different cultures and
145+
environments at least as many as the number of languages. A linguistic
146146
environment corresponding to an area is called "locale". This includes
147147
information about the used language, the charset, collating order for sorting,
148148
date format, currency format and so on. For Vim only the language and charset
@@ -889,7 +889,7 @@ input_server_name is your |IM-server| name (check your |IM-server|
889889
your_input_style is one of |OverTheSpot|, |OffTheSpot|, |Root|. See
890890
also |xim-input-style|.
891891

892-
*international may not necessary if you use X11R6.
892+
*international may not be necessary if you use X11R6.
893893
*.inputMethod and *.preeditType are optional if you use X11R6.
894894

895895
For example, when you are using kinput2 as |IM-server|, >
@@ -952,7 +952,7 @@ automatically.
952952

953953
This works on not only insert-normal mode, but also search-command input and
954954
replace mode.
955-
The options 'iminsert', 'imsearch' and 'imcmdline' can be used to chose
955+
The options 'iminsert', 'imsearch' and 'imcmdline' can be used to choose
956956
the different input methods or disable them temporarily.
957957

958958
WHAT IS IME

0 commit comments

Comments
 (0)