Skip to content

Commit f5ffa19

Browse files
committed
Updated runtime files.
1 parent 2e48a0f commit f5ffa19

File tree

16 files changed

+74
-50
lines changed

16 files changed

+74
-50
lines changed

runtime/autoload/netrw.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ call s:NetrwInit("g:netrw_localmkdir","mkdir")
324324
if !executable(g:netrw_localmkdir)
325325
call netrw#ErrorMsg(s:NOTE,"consider setting g:netrw_localmkdir<".g:netrw_localmkdir."> to something that works",80)
326326
endif
327-
endif
328327
call s:NetrwInit("g:netrw_remote_mkdir","mkdir")
329328
if exists("g:netrw_local_movecmd")
330329
let g:netrw_localmovecmd= g:netrw_local_movecmd"

runtime/doc/eval.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.3. Last change: 2012 Apr 01
1+
*eval.txt* For Vim version 7.3. Last change: 2012 Apr 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5092,7 +5092,7 @@ setline({lnum}, {text}) *setline()*
50925092
will be set to the items in the list. Example: >
50935093
:call setline(5, ['aaa', 'bbb', 'ccc'])
50945094
< This is equivalent to: >
5095-
:for [n, l] in [[5, 6, 7], ['aaa', 'bbb', 'ccc']]
5095+
:for [n, l] in [[5, 'aaa'], [6, 'bbb'], [7, 'ccc']]
50965096
: call setline(n, l)
50975097
:endfor
50985098
< Note: The '[ and '] marks are not set.

runtime/doc/if_lua.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,14 @@ Example:
5959
<
6060

6161
*:luado*
62-
:[range]luado {body} Execute Lua function "function (line) {body} end" for
63-
each line in the [range], with the function argument
64-
being set to the text of each line in turn, without a
65-
trailing <EOL>. If the value returned by the function
66-
is a string it becomes the text of the line in the
67-
current turn. The default for [range] is the whole
68-
file: "1,$". {not in Vi}
62+
:[range]luado {body} Execute Lua function "function (line, linenr) {body}
63+
end" for each line in the [range], with the function
64+
argument being set to the text of each line in turn,
65+
without a trailing <EOL>, and the current line number.
66+
If the value returned by the function is a string it
67+
becomes the text of the line in the current turn. The
68+
default for [range] is the whole file: "1,$".
69+
{not in Vi}
6970

7071
Examples:
7172
>

runtime/doc/map.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*map.txt* For Vim version 7.3. Last change: 2012 Feb 02
1+
*map.txt* For Vim version 7.3. Last change: 2012 Apr 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1188,7 +1188,7 @@ reported if any are supplied). However, it is possible to specify that the
11881188
command can take arguments, using the -nargs attribute. Valid cases are:
11891189

11901190
-nargs=0 No arguments are allowed (the default)
1191-
-nargs=1 Exactly one argument is require, it includes spaces
1191+
-nargs=1 Exactly one argument is required, it includes spaces
11921192
-nargs=* Any number of arguments are allowed (0, 1, or many),
11931193
separated by white space
11941194
-nargs=? 0 or 1 arguments are allowed

runtime/doc/syntax.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 7.3. Last change: 2012 Apr 05
1+
*syntax.txt* For Vim version 7.3. Last change: 2012 Apr 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2841,7 +2841,7 @@ substitution will not be made.
28412841

28422842
(La)Tex keywords normally use the characters 0-9,a-z,A-Z,192-255 only
28432843
but the "_" is the only one that causes problems. So, by default,
2844-
syntax/tex.vim overrides the usual |'iskeyword'| setting (using |setlocal|)
2844+
syntax/tex.vim overrides the usual |'iskeyword'| setting (using |:setlocal|)
28452845
with one that works for LaTeX.
28462846

28472847
However, one may override this iskeyword re-setting by setting the

runtime/doc/tags

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3630,9 +3630,6 @@ E287 mbyte.txt /*E287*
36303630
E288 mbyte.txt /*E288*
36313631
E289 mbyte.txt /*E289*
36323632
E29 change.txt /*E29*
3633-
E290 mbyte.txt /*E290*
3634-
E291 mbyte.txt /*E291*
3635-
E292 mbyte.txt /*E292*
36363633
E293 message.txt /*E293*
36373634
E294 message.txt /*E294*
36383635
E295 message.txt /*E295*
@@ -4995,6 +4992,7 @@ cino-g indent.txt /*cino-g*
49954992
cino-h indent.txt /*cino-h*
49964993
cino-i indent.txt /*cino-i*
49974994
cino-j indent.txt /*cino-j*
4995+
cino-k indent.txt /*cino-k*
49984996
cino-l indent.txt /*cino-l*
49994997
cino-m indent.txt /*cino-m*
50004998
cino-n indent.txt /*cino-n*
@@ -5829,13 +5827,15 @@ g:netrw_cygwin pi_netrw.txt /*g:netrw_cygwin*
58295827
g:netrw_dav_cmd pi_netrw.txt /*g:netrw_dav_cmd*
58305828
g:netrw_decompress pi_netrw.txt /*g:netrw_decompress*
58315829
g:netrw_dirhistmax pi_netrw.txt /*g:netrw_dirhistmax*
5830+
g:netrw_errorlvl pi_netrw.txt /*g:netrw_errorlvl*
58325831
g:netrw_fastbrowse pi_netrw.txt /*g:netrw_fastbrowse*
58335832
g:netrw_fetch_cmd pi_netrw.txt /*g:netrw_fetch_cmd*
58345833
g:netrw_fname_escape pi_netrw.txt /*g:netrw_fname_escape*
58355834
g:netrw_ftp pi_netrw.txt /*g:netrw_ftp*
58365835
g:netrw_ftp_browse_reject pi_netrw.txt /*g:netrw_ftp_browse_reject*
58375836
g:netrw_ftp_cmd pi_netrw.txt /*g:netrw_ftp_cmd*
58385837
g:netrw_ftp_list_cmd pi_netrw.txt /*g:netrw_ftp_list_cmd*
5838+
g:netrw_ftp_options pi_netrw.txt /*g:netrw_ftp_options*
58395839
g:netrw_ftp_sizelist_cmd pi_netrw.txt /*g:netrw_ftp_sizelist_cmd*
58405840
g:netrw_ftp_timelist_cmd pi_netrw.txt /*g:netrw_ftp_timelist_cmd*
58415841
g:netrw_ftpextracmd pi_netrw.txt /*g:netrw_ftpextracmd*
@@ -5850,10 +5850,10 @@ g:netrw_keepdir pi_netrw.txt /*g:netrw_keepdir*
58505850
g:netrw_list_cmd pi_netrw.txt /*g:netrw_list_cmd*
58515851
g:netrw_list_hide pi_netrw.txt /*g:netrw_list_hide*
58525852
g:netrw_liststyle pi_netrw.txt /*g:netrw_liststyle*
5853-
g:netrw_local_mkdir pi_netrw.txt /*g:netrw_local_mkdir*
5854-
g:netrw_local_rmdir pi_netrw.txt /*g:netrw_local_rmdir*
58555853
g:netrw_localcopycmd pi_netrw.txt /*g:netrw_localcopycmd*
5854+
g:netrw_localmkdir pi_netrw.txt /*g:netrw_localmkdir*
58565855
g:netrw_localmovecmd pi_netrw.txt /*g:netrw_localmovecmd*
5856+
g:netrw_localrmdir pi_netrw.txt /*g:netrw_localrmdir*
58575857
g:netrw_maxfilenamelen pi_netrw.txt /*g:netrw_maxfilenamelen*
58585858
g:netrw_menu pi_netrw.txt /*g:netrw_menu*
58595859
g:netrw_mkdir_cmd pi_netrw.txt /*g:netrw_mkdir_cmd*
@@ -5902,6 +5902,7 @@ g:tar_readoptions pi_tar.txt /*g:tar_readoptions*
59025902
g:tar_secure pi_tar.txt /*g:tar_secure*
59035903
g:tar_writeoptions pi_tar.txt /*g:tar_writeoptions*
59045904
g:tex_conceal syntax.txt /*g:tex_conceal*
5905+
g:tex_isk syntax.txt /*g:tex_isk*
59055906
g:var eval.txt /*g:var*
59065907
g:vimball_home pi_vimball.txt /*g:vimball_home*
59075908
g:vimball_mkdir pi_vimball.txt /*g:vimball_mkdir*
@@ -6183,6 +6184,7 @@ hl-Cursor syntax.txt /*hl-Cursor*
61836184
hl-CursorColumn syntax.txt /*hl-CursorColumn*
61846185
hl-CursorIM syntax.txt /*hl-CursorIM*
61856186
hl-CursorLine syntax.txt /*hl-CursorLine*
6187+
hl-CursorLineNr syntax.txt /*hl-CursorLineNr*
61866188
hl-DiffAdd syntax.txt /*hl-DiffAdd*
61876189
hl-DiffChange syntax.txt /*hl-DiffChange*
61886190
hl-DiffDelete syntax.txt /*hl-DiffDelete*
@@ -6559,6 +6561,9 @@ lpc.vim syntax.txt /*lpc.vim*
65596561
lua if_lua.txt /*lua*
65606562
lua-buffer if_lua.txt /*lua-buffer*
65616563
lua-commands if_lua.txt /*lua-commands*
6564+
lua-dict if_lua.txt /*lua-dict*
6565+
lua-list if_lua.txt /*lua-list*
6566+
lua-luaeval if_lua.txt /*lua-luaeval*
65626567
lua-vim if_lua.txt /*lua-vim*
65636568
lua-window if_lua.txt /*lua-window*
65646569
lua.vim syntax.txt /*lua.vim*
@@ -6935,8 +6940,11 @@ netrw-updir pi_netrw.txt /*netrw-updir*
69356940
netrw-urls pi_netrw.txt /*netrw-urls*
69366941
netrw-userpass pi_netrw.txt /*netrw-userpass*
69376942
netrw-v pi_netrw.txt /*netrw-v*
6943+
netrw-var pi_netrw.txt /*netrw-var*
69386944
netrw-variables pi_netrw.txt /*netrw-variables*
69396945
netrw-vexplore pi_netrw.txt /*netrw-vexplore*
6946+
netrw-windows-netrc pi_netrw.txt /*netrw-windows-netrc*
6947+
netrw-windows-s pi_netrw.txt /*netrw-windows-s*
69406948
netrw-write pi_netrw.txt /*netrw-write*
69416949
netrw-x pi_netrw.txt /*netrw-x*
69426950
netrw-xfer pi_netrw.txt /*netrw-xfer*

runtime/doc/todo.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.3. Last change: 2012 Apr 05
1+
*todo.txt* For Vim version 7.3. Last change: 2012 Apr 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -130,6 +130,8 @@ Patch to pass list to or(), and() and xor(). (Yasuhiro Matsumoto, 2012 Feb 8)
130130
Patch to improve "it" and "at" text object matching. (Christian Brabandt, 2011
131131
Nov 20)
132132

133+
Patch to add ":py3do". (Lilydjwg, 2012 Apr 7)
134+
133135
`[ moves to character after insert, instead of the last inserted character.
134136
(Yukihiro Nakadaira, 2011 Dec 9)
135137

runtime/doc/windows.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*windows.txt* For Vim version 7.3. Last change: 2011 Aug 14
1+
*windows.txt* For Vim version 7.3. Last change: 2012 Apr 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -174,7 +174,8 @@ CTRL-W CTRL_N *CTRL-W_CTRL-N*
174174
2. WinEnter for the new window
175175
3. BufLeave for the current buffer
176176
4. BufEnter for the new buffer
177-
This behaves like a ":split" first, and then a ":e" command.
177+
This behaves like a ":split" first, and then an ":enew"
178+
command.
178179

179180
:[N]vne[w] [++opt] [+cmd] [file] *:vne* *:vnew*
180181
Like |:new|, but split vertically. If 'equalalways' is set
@@ -183,7 +184,8 @@ CTRL-W CTRL_N *CTRL-W_CTRL-N*
183184

184185
:[N]new [++opt] [+cmd] {file}
185186
:[N]sp[lit] [++opt] [+cmd] {file} *:split_f*
186-
Create a new window and start editing file {file} in it.
187+
Create a new window and start editing file {file} in it. This
188+
behaves like a ":split" first, and then an ":e" command.
187189
If [+cmd] is given, execute the command when the file has been
188190
loaded |+cmd|.
189191
Also see |++opt|.

runtime/filetype.vim

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim support file to detect file types
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last Change: 2012 Apr 05
4+
" Last Change: 2012 Apr 13
55

66
" Listen very carefully, I will say this only once
77
if exists("did_load_filetypes")
@@ -17,7 +17,7 @@ augroup filetypedetect
1717

1818
" Ignored extensions
1919
if exists("*fnameescape")
20-
au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.dpkg-dist,?\+.dpkg-old,?\+.rpmsave,?\+.rpmnew
20+
au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.dpkg-dist,?\+.dpkg-old,?\+.dpkg-new,?\+.dpkg-bak,?\+.rpmsave,?\+.rpmnew
2121
\ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r"))
2222
au BufNewFile,BufRead *~
2323
\ let s:name = expand("<afile>") |
@@ -239,8 +239,8 @@ func! s:FTVB(alt)
239239
endif
240240
endfunc
241241

242-
" Visual Basic Script (close to Visual Basic)
243-
au BufNewFile,BufRead *.vbs,*.dsm,*.ctl setf vb
242+
" Visual Basic Script (close to Visual Basic) or Visual Basic .NET
243+
au BufNewFile,BufRead *.vb,*.vbs,*.dsm,*.ctl setf vb
244244

245245
" IBasic file (similar to QBasic)
246246
au BufNewFile,BufRead *.iba,*.ibi setf ibasic
@@ -735,9 +735,11 @@ au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
735735
au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom
736736

737737
" Git
738-
au BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit
738+
au BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit
739739
au BufNewFile,BufRead *.git/config,.gitconfig,.gitmodules setf gitconfig
740-
au BufNewFile,BufRead git-rebase-todo setf gitrebase
740+
au BufNewFile,BufRead *.git/modules/**/COMMIT_EDITMSG setf gitcommit
741+
au BufNewFile,BufRead *.git/modules/**/config setf gitconfig
742+
au BufNewFile,BufRead git-rebase-todo setf gitrebase
741743
au BufNewFile,BufRead .msg.[0-9]*
742744
\ if getline(1) =~ '^From.*# This line is ignored.$' |
743745
\ setf gitsendemail |

runtime/ftplugin/git.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
" Vim filetype plugin
22
" Language: generic git output
33
" Maintainer: Tim Pope <[email protected]>
4-
" Last Change: 2010 May 21
54

65
" Only do this when not done yet for this buffer
76
if (exists("b:did_ftplugin"))
@@ -10,7 +9,9 @@ endif
109
let b:did_ftplugin = 1
1110

1211
if !exists('b:git_dir')
13-
if expand('%:p') =~# '\.git\>'
12+
if expand('%:p') =~# '[\/]\.git[\/]modules[\/]'
13+
" Stay out of the way
14+
elseif expand('%:p') =~# '\.git\>'
1415
let b:git_dir = matchstr(expand('%:p'),'.*\.git\>')
1516
elseif $GIT_DIR != ''
1617
let b:git_dir = $GIT_DIR

0 commit comments

Comments
 (0)