vim-patch:42ebd06

Update runtime files.

42ebd06642
This commit is contained in:
James McCoy
2017-02-27 20:41:55 -05:00
parent e0705021c1
commit 1371e19e2b
6 changed files with 24 additions and 9 deletions

View File

@@ -1197,7 +1197,7 @@ lambda expression *expr-lambda* *lambda*
{args -> expr1} lambda expression {args -> expr1} lambda expression
A lambda expression creates a new unnamed function which returns the result of A lambda expression creates a new unnamed function which returns the result of
evaluating |expr1|. Lambda expressions are differ from |user-functions| in evaluating |expr1|. Lambda expressions differ from |user-functions| in
the following ways: the following ways:
1. The body of the lambda expression is an |expr1| and not a sequence of |Ex| 1. The body of the lambda expression is an |expr1| and not a sequence of |Ex|

View File

@@ -1,4 +1,4 @@
*index.txt* For Vim version 7.4. Last change: 2016 Jun 12 *index.txt* For Vim version 7.4. Last change: 2016 Jul 16
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1152,6 +1152,7 @@ tag command action ~
|:chdir| :chd[ir] change directory |:chdir| :chd[ir] change directory
|:checkpath| :che[ckpath] list included files |:checkpath| :che[ckpath] list included files
|:checktime| :checkt[ime] check timestamp of loaded buffers |:checktime| :checkt[ime] check timestamp of loaded buffers
|:chistory| :chi[story] list the error lists
|:clast| :cla[st] go to the specified error, default last one |:clast| :cla[st] go to the specified error, default last one
|:clearjumps| :cle[arjumps] clear the jump list |:clearjumps| :cle[arjumps] clear the jump list
|:clist| :cl[ist] list all errors |:clist| :cl[ist] list all errors
@@ -1313,6 +1314,7 @@ tag command action ~
|:lgrep| :lgr[ep] run 'grepprg' and jump to first match |:lgrep| :lgr[ep] run 'grepprg' and jump to first match
|:lgrepadd| :lgrepa[dd] like :grep, but append to current list |:lgrepadd| :lgrepa[dd] like :grep, but append to current list
|:lhelpgrep| :lh[elpgrep] like ":helpgrep" but uses location list |:lhelpgrep| :lh[elpgrep] like ":helpgrep" but uses location list
|:lhistory| :lhi[story] list the location lists
|:ll| :ll go to specific location |:ll| :ll go to specific location
|:llast| :lla[st] go to the specified location, default last one |:llast| :lla[st] go to the specified location, default last one
|:llist| :lli[st] list all locations |:llist| :lli[st] list all locations

View File

@@ -1,4 +1,4 @@
*message.txt* For Vim version 7.4. Last change: 2016 Jul 14 *message.txt* For Vim version 7.4. Last change: 2016 Jul 16
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -668,7 +668,7 @@ Vim and restart it.
*E931* > *E931* >
Buffer cannot be registered Buffer cannot be registered
Out of memory or a duplicate buffer number. May habben after W14. Looking up Out of memory or a duplicate buffer number. May happen after W14. Looking up
a buffer will not always work, better restart Vim. a buffer will not always work, better restart Vim.
*E296* *E297* > *E296* *E297* >

View File

@@ -1,4 +1,4 @@
*quickfix.txt* For Vim version 7.4. Last change: 2016 Jul 07 *quickfix.txt* For Vim version 7.4. Last change: 2016 Jul 17
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -525,7 +525,7 @@ lists. They set one of the existing error lists as the current one.
list, an error message is given. list, an error message is given.
*:lolder* *:lol* *:lolder* *:lol*
:lol[der] [count] Same as ":colder", except use the location list for :lol[der] [count] Same as `:colder`, except use the location list for
the current window instead of the quickfix list. the current window instead of the quickfix list.
*:cnewer* *:cnew* *E381* *:cnewer* *:cnew* *E381*
@@ -534,9 +534,20 @@ lists. They set one of the existing error lists as the current one.
list, an error message is given. list, an error message is given.
*:lnewer* *:lnew* *:lnewer* *:lnew*
:lnew[er] [count] Same as ":cnewer", except use the location list for :lnew[er] [count] Same as `:cnewer`, except use the location list for
the current window instead of the quickfix list. the current window instead of the quickfix list.
*:chistory* *:chi*
:chi[story] Show the list of error lists. The current list is
marked with ">". The output looks like:
error list 1 of 3; 43 errors ~
> error list 2 of 3; 0 errors ~
error list 3 of 3; 15 errors ~
*:lhistory* *:lhi*
:lhi[story] Show the list of location lists, otherwise like
`:chistory`.
When adding a new error list, it becomes the current list. When adding a new error list, it becomes the current list.
When ":colder" has been used and ":make" or ":grep" is used to add a new error When ":colder" has been used and ":make" or ":grep" is used to add a new error

View File

@@ -2642,6 +2642,8 @@ au BufNewFile,BufRead [rR]akefile* call s:StarSetf('ruby')
" Mail (also matches muttrc.vim, so this is below the other checks) " Mail (also matches muttrc.vim, so this is below the other checks)
au BufNewFile,BufRead mutt[[:alnum:]._-]\\\{6\} setf mail au BufNewFile,BufRead mutt[[:alnum:]._-]\\\{6\} setf mail
au BufNewFile,BufRead reportbug-* call s:StarSetf('mail')
" Modconf " Modconf
au BufNewFile,BufRead */etc/modutils/* au BufNewFile,BufRead */etc/modutils/*
\ if executable(expand("<afile>")) != 1 \ if executable(expand("<afile>")) != 1

View File

@@ -188,7 +188,7 @@ an 20.435 &Edit.Startup\ &Settings :call <SID>EditVimrc()<CR>
fun! s:EditVimrc() fun! s:EditVimrc()
if $MYVIMRC != '' if $MYVIMRC != ''
let fname = $MYVIMRC let fname = $MYVIMRC
elseif has("win32") || has("dos32") || has("dos16") elseif has("win32")
if $HOME != '' if $HOME != ''
let fname = $HOME . "/_vimrc" let fname = $HOME . "/_vimrc"
else else
@@ -552,7 +552,7 @@ endfun
func! s:XxdFind() func! s:XxdFind()
if !exists("g:xxdprogram") if !exists("g:xxdprogram")
" On the PC xxd may not be in the path but in the install directory " On the PC xxd may not be in the path but in the install directory
if (has("win32") || has("dos32")) && !executable("xxd") if has("win32") && !executable("xxd")
let g:xxdprogram = $VIMRUNTIME . (&shellslash ? '/' : '\') . "xxd.exe" let g:xxdprogram = $VIMRUNTIME . (&shellslash ? '/' : '\') . "xxd.exe"
else else
let g:xxdprogram = "xxd" let g:xxdprogram = "xxd"