Skip to content

Commit 6ed7bee

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 70a3046 + 12ee7ff commit 6ed7bee

31 files changed

+1737
-429
lines changed

Filelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ SRC_ALL = \
152152
src/testdir/if_ver*.vim \
153153
src/testdir/color_ramp.vim \
154154
src/testdir/silent.wav \
155+
src/testdir/popupbounce.vim \
155156
src/proto.h \
156157
src/protodef.h \
157158
src/proto/arabic.pro \

nsis/lang/simpchinese.nsi

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -45,47 +45,47 @@ LangString str_type_full ${LANG_SIMPCHINESE} \
4545
LangString str_section_old_ver ${LANG_SIMPCHINESE} \
4646
"卸载旧版本"
4747
LangString str_desc_old_ver ${LANG_SIMPCHINESE} \
48-
"卸载系统上旧版本的 Vim"
48+
"卸载系统上已存在的 Vim 版本"
4949

5050
LangString str_section_exe ${LANG_SIMPCHINESE} \
5151
"安装 Vim 图形界面"
5252
LangString str_desc_exe ${LANG_SIMPCHINESE} \
53-
"安装 Vim 图形界面及脚本。此为必选安装"
53+
"安装 Vim 图形界面及运行时文件。此项为必选"
5454

5555
LangString str_section_console ${LANG_SIMPCHINESE} \
56-
"安装 Vim 命令行程序"
56+
"安装 Vim 控制台版本"
5757
LangString str_desc_console ${LANG_SIMPCHINESE} \
58-
"安装 Vim 命令行程序 (vim.exe)。该程序在命令行窗口中运行"
58+
"安装 Vim 的控制台版本(vim.exe"
5959

6060
LangString str_section_batch ${LANG_SIMPCHINESE} \
6161
"安装批处理文件"
6262
LangString str_desc_batch ${LANG_SIMPCHINESE} \
63-
"为 Vim 的各种变体创建批处理程序,以便在命令行下运行 Vim。"
63+
"为 Vim 的各种变体创建批处理文件,以便在命令行下运行 Vim。"
6464

6565
LangString str_group_icons ${LANG_SIMPCHINESE} \
66-
"创建 Vim 图标"
66+
"创建图标"
6767
LangString str_desc_icons ${LANG_SIMPCHINESE} \
6868
"为 Vim 创建若干图标,以方便使用 Vim。"
6969

7070
LangString str_section_desktop ${LANG_SIMPCHINESE} \
71-
"在桌面上"
71+
"桌面图标"
7272
LangString str_desc_desktop ${LANG_SIMPCHINESE} \
73-
"在桌面上为 Vim 创建若干图标,以方便启动 Vim"
73+
"创建 Vim 的桌面快捷方式图标"
7474

7575
LangString str_section_start_menu ${LANG_SIMPCHINESE} \
76-
"在启动菜单的程序菜单下"
76+
"「开始」菜单程序组"
7777
LangString str_desc_start_menu ${LANG_SIMPCHINESE} \
78-
"在启动菜单的程序菜单下添加 Vim 组。适用于 Windows 95 及以上版本"
78+
"在开始菜单中添加 Vim 程序组(适用于 Windows 95 及以上版本"
7979

8080
#LangString str_section_quick_launch ${LANG_SIMPCHINESE} \
8181
# "在快速启动启动栏中"
8282
#LangString str_desc_quick_launch ${LANG_SIMPCHINESE} \
8383
# "在快速启动栏中添加 Vim 图标。"
8484

8585
LangString str_section_edit_with ${LANG_SIMPCHINESE} \
86-
"安装快捷菜单"
86+
"添加到快捷菜单"
8787
LangString str_desc_edit_with ${LANG_SIMPCHINESE} \
88-
"将 Vim 添加到“打开方式”快捷菜单中"
88+
"“用 Vim 编辑”添加到快捷菜单中"
8989

9090
#LangString str_section_edit_with32 ${LANG_SIMPCHINESE} \
9191
# "32 位版本"
@@ -98,10 +98,10 @@ LangString str_desc_edit_with ${LANG_SIMPCHINESE} \
9898
# "将 Vim 添加到 64 位程序的“打开方式”快捷菜单中。"
9999

100100
LangString str_section_vim_rc ${LANG_SIMPCHINESE} \
101-
"创建缺省配置文件"
101+
"创建默认配置文件"
102102
LangString str_desc_vim_rc ${LANG_SIMPCHINESE} \
103-
"在安装目录下生成缺省的 Vim 配置文件(_vimrc)。\
104-
如果该文件已经存在,则略过此项"
103+
"在安装目录下生成默认的 Vim 配置文件(_vimrc)。\
104+
如果该文件已经存在,则跳过该项"
105105

106106
LangString str_group_plugin ${LANG_SIMPCHINESE} \
107107
"创建插件目录"
@@ -121,9 +121,9 @@ LangString str_desc_plugin_vim ${LANG_SIMPCHINESE} \
121121
该目录下的扩展插件。"
122122

123123
LangString str_section_vis_vim ${LANG_SIMPCHINESE} \
124-
"安装 VisVim 插件"
124+
"VisVim 插件"
125125
LangString str_desc_vis_vim ${LANG_SIMPCHINESE} \
126-
"安装用于与微软 Microsoft Visual Studio 进行集成的 VisVim 插件。"
126+
"安装与 Visual Studio 集成的 VisVim 插件。"
127127

128128
LangString str_section_nls ${LANG_SIMPCHINESE} \
129129
"安装多语言支持"
@@ -153,12 +153,12 @@ LangString str_desc_rm_plugin_home ${LANG_SIMPCHINESE} \
153153
LangString str_unsection_plugin_vim ${LANG_SIMPCHINESE} \
154154
"公共插件目录"
155155
LangString str_desc_rm_plugin_vim ${LANG_SIMPCHINESE} \
156-
"Remove the plugin directories from Vim install directory."
156+
"Vim 安装目录下移除插件目录。"
157157

158158
LangString str_unsection_rootdir ${LANG_SIMPCHINESE} \
159-
"Remove the Vim root directory"
159+
"移除 Vim 主目录"
160160
LangString str_desc_rm_rootdir ${LANG_SIMPCHINESE} \
161-
"Remove the Vim root directory. It contains your Vim configuration files!"
161+
"移除 Vim 的主目录,该目录包含您的配置文件!"
162162

163163

164164
##############################################################################
@@ -225,26 +225,26 @@ LangString str_msg_rm_exe_fail ${LANG_SIMPCHINESE} \
225225
# 该目录下仍有其他文件。"
226226

227227
LangString str_msg_uninstalling ${LANG_SIMPCHINESE} \
228-
"Uninstalling the old version..."
228+
"正在卸载旧版本..."
229229

230230
LangString str_msg_registering ${LANG_SIMPCHINESE} \
231-
"Registering..."
231+
"正在注册..."
232232

233233
LangString str_msg_unregistering ${LANG_SIMPCHINESE} \
234-
"Unregistering..."
234+
"正在取消注册..."
235235

236236

237237
##############################################################################
238238
# Dialog Box {{{1
239239
##############################################################################
240240

241241
LangString str_vimrc_page_title ${LANG_SIMPCHINESE} \
242-
"Choose _vimrc settings"
242+
"设置 _vimrc"
243243
LangString str_vimrc_page_subtitle ${LANG_SIMPCHINESE} \
244-
"Choose the settings for enhancement, keyboard and mouse."
244+
"选择键盘、鼠标和增强选项。"
245245

246246
LangString str_msg_compat_title ${LANG_SIMPCHINESE} \
247-
" Vi / Vim behavior "
247+
"Vi / Vim 行为"
248248
LangString str_msg_compat_desc ${LANG_SIMPCHINESE} \
249249
"&Compatibility and enhancements"
250250
LangString str_msg_compat_vi ${LANG_SIMPCHINESE} \
@@ -257,7 +257,7 @@ LangString str_msg_compat_all ${LANG_SIMPCHINESE} \
257257
"Vim with all enhancements (load vimrc_example.vim) (Default)"
258258

259259
LangString str_msg_keymap_title ${LANG_SIMPCHINESE} \
260-
" Mappings "
260+
"键盘映射"
261261
LangString str_msg_keymap_desc ${LANG_SIMPCHINESE} \
262262
"&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)"
263263
LangString str_msg_keymap_default ${LANG_SIMPCHINESE} \
@@ -266,7 +266,7 @@ LangString str_msg_keymap_windows ${LANG_SIMPCHINESE} \
266266
"Remap a few keys"
267267

268268
LangString str_msg_mouse_title ${LANG_SIMPCHINESE} \
269-
" Mouse "
269+
"鼠标"
270270
LangString str_msg_mouse_desc ${LANG_SIMPCHINESE} \
271271
"&Behavior of right and left buttons"
272272
LangString str_msg_mouse_default ${LANG_SIMPCHINESE} \

runtime/doc/editing.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.1. Last change: 2019 Jun 02
1+
*editing.txt* For Vim version 8.1. Last change: 2019 Jun 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -593,7 +593,7 @@ You can use the argument list with the following commands, and with the
593593
expression functions |argc()| and |argv()|. These all work on the argument
594594
list of the current window.
595595

596-
*:ar* *:arg* *:args*
596+
*:ar* *:arg* *:args*
597597
:ar[gs] Print the argument list, with the current file in
598598
square brackets.
599599

runtime/doc/eval.txt

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.1. Last change: 2019 Jun 06
1+
*eval.txt* For Vim version 8.1. Last change: 2019 Jun 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2623,12 +2623,12 @@ sin({expr}) Float sine of {expr}
26232623
sinh({expr}) Float hyperbolic sine of {expr}
26242624
sort({list} [, {func} [, {dict}]])
26252625
List sort {list}, using {func} to compare
2626+
sound_clear() none stop playing all sounds
26262627
sound_playevent({name} [, {callback}])
26272628
Number play an event sound
2628-
sound_playfile({name} [, {callback}])
2629-
Number play a sound file
2629+
sound_playfile({path} [, {callback}])
2630+
Number play sound file {path}
26302631
sound_stop({id}) none stop playing sound {id}
2631-
sound_stopall() none stop playing all sounds
26322632
soundfold({word}) String sound-fold {word}
26332633
spellbadword() String badly spelled word at cursor
26342634
spellsuggest({word} [, {max} [, {capital}]])
@@ -7360,7 +7360,7 @@ prop_remove({props} [, {lnum} [, {lnum-end}]])
73607360
not just the first one
73617361
A property matches when either "id" or "type" matches.
73627362
If buffer "bufnr" does not exist you get an error message.
7363-
If buffer 'bufnr" is not loaded then nothing happens.
7363+
If buffer "bufnr" is not loaded then nothing happens.
73647364

73657365
Returns the number of properties that were removed.
73667366

@@ -8852,6 +8852,10 @@ sort({list} [, {func} [, {dict}]]) *sort()* *E702*
88528852
return a:i1 - a:i2
88538853
endfunc
88548854
<
8855+
sound_clear() *sound_clear()*
8856+
Stop playing all sounds.
8857+
{only available when compiled with the +sound feature}
8858+
88558859
*sound_playevent()*
88568860
sound_playevent({name} [, {callback}])
88578861
Play a sound identified by {name}. Which event names are
@@ -8864,7 +8868,7 @@ sound_playevent({name} [, {callback}])
88648868
finished. The first argument is the sound ID, the second
88658869
argument is the status:
88668870
0 sound was played to the end
8867-
1 sound was interruped
8871+
1 sound was interrupted
88688872
2 error occured after sound started
88698873
Example: >
88708874
func Callback(id, status)
@@ -8874,26 +8878,21 @@ sound_playevent({name} [, {callback}])
88748878
88758879
< Returns the sound ID, which can be passed to `sound_stop()`.
88768880
Returns zero if the sound could not be played.
8877-
{only available when compiled with the +sound feature}
8881+
{only available when compiled with the |+sound| feature}
88788882

88798883
*sound_playfile()*
8880-
sound_playfile({name} [, {callback}])
8881-
Like `sound_playevent()` but play sound file {name}. {name}
8884+
sound_playfile({path} [, {callback}])
8885+
Like `sound_playevent()` but play sound file {path}. {path}
88828886
must be a full path. On Ubuntu you may find files to play
88838887
with this command: >
88848888
:!find /usr/share/sounds -type f | grep -v index.theme
8885-
8886-
< {only available when compiled with the +sound feature}
8889+
< {only available when compiled with the |+sound| feature}
88878890

88888891

88898892
sound_stop({id}) *sound_stop()*
88908893
Stop playing sound {id}. {id} must be previously returned by
88918894
`sound_playevent()` or `sound_playfile()`.
8892-
{only available when compiled with the +sound feature}
8893-
8894-
sound_stopall() *sound_stopall()*
8895-
Stop playing all sounds.
8896-
{only available when compiled with the +sound feature}
8895+
{only available when compiled with the |+sound| feature}
88978896

88988897
*soundfold()*
88998898
soundfold({word})
@@ -13088,19 +13087,22 @@ Sometimes old syntax of functionality gets in the way of making Vim better.
1308813087
When support is taken away this will break older Vim scripts. To make this
1308913088
explicit the |:scriptversion| command can be used. When a Vim script is not
1309013089
compatible with older versions of Vim this will give an explicit error,
13091-
instead of failing in mysterious ways. >
13090+
instead of failing in mysterious ways.
1309213091

13092+
*scriptversion-1* >
1309313093
:scriptversion 1
1309413094
< This is the original Vim script, same as not using a |:scriptversion|
1309513095
command. Can be used to go back to old syntax for a range of lines.
1309613096
Test for support with: >
1309713097
has('vimscript-1')
1309813098
13099+
< *scriptversion-2* >
1309913100
:scriptversion 2
1310013101
< String concatenation with "." is not supported, use ".." instead.
1310113102
This avoids the ambiguity using "." for Dict member access and
1310213103
floating point numbers. Now ".5" means the number 0.5.
13103-
>
13104+
13105+
*scriptversion-3* >
1310413106
:scriptversion 3
1310513107
< All |vim-variable|s must be prefixed by "v:". E.g. "version" doesn't
1310613108
work as |v:version| anymore, it can be used as a normal variable.

runtime/doc/index.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 8.1. Last change: 2019 May 25
1+
*index.txt* For Vim version 8.1. Last change: 2019 Jun 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1486,7 +1486,6 @@ tag command action ~
14861486
|:perldo| :perld[o] execute Perl command for each line
14871487
|:pop| :po[p] jump to older entry in tag stack
14881488
|:popup| :popu[p] popup a menu by name
1489-
|:popupclear| :popupc[lear] remove all popup windows
14901489
|:ppop| :pp[op] ":pop" in preview window
14911490
|:preserve| :pre[serve] write all text to swap file
14921491
|:previous| :prev[ious] go to previous file in argument list

0 commit comments

Comments
 (0)