0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

Update runtime files.

This commit is contained in:
Bram Moolenaar 2014-11-13 14:25:38 +01:00
parent 8a349ff944
commit c229967caa
8 changed files with 41 additions and 36 deletions

View File

@ -1,4 +1,4 @@
*editing.txt* For Vim version 7.4. Last change: 2014 Sep 19 *editing.txt* For Vim version 7.4. Last change: 2014 Nov 12
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -1415,13 +1415,11 @@ Do this before writing the file. When reading an encrypted file it will be
set automatically to the method used when that file was written. You can set automatically to the method used when that file was written. You can
change 'cryptmethod' before writing that file to change the method. change 'cryptmethod' before writing that file to change the method.
To set the default method, used for new files, use one of these in your To set the default method, used for new files, use this in your |vimrc|
|vimrc| file: > file: >
set cm=zip
set cm=blowfish2 set cm=blowfish2
Use the first one if you need to be compatible with Vim 7.2 and older. Using Using "blowfish2" is highly recommended. Only use another method if you
"blowfish2" is highly recommended if you can use a Vim version that supports must use an older Vim version that does not support it.
it.
The message given for reading and writing a file will show "[crypted]" when The message given for reading and writing a file will show "[crypted]" when
using zip, "[blowfish]" when using blowfish, etc. using zip, "[blowfish]" when using blowfish, etc.

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.4. Last change: 2014 Sep 27 *eval.txt* For Vim version 7.4. Last change: 2014 Nov 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -4851,7 +4851,7 @@ readfile({fname} [, {binary} [, {max}]])
separated with CR will result in a single long line (unless a separated with CR will result in a single long line (unless a
NL appears somewhere). NL appears somewhere).
All NUL characters are replaced with a NL character. All NUL characters are replaced with a NL character.
When {binary} is equal to "b" binary mode is used: When {binary/append} is contains "b" binary mode is used:
- When the last line ends in a NL an extra empty list item is - When the last line ends in a NL an extra empty list item is
added. added.
- No CR characters are removed. - No CR characters are removed.

View File

@ -4534,6 +4534,8 @@ A jump table for the options with a short description can be found at |Q_op|.
be able to execute Normal mode commands. be able to execute Normal mode commands.
This is the opposite of the 'keymap' option, where characters are This is the opposite of the 'keymap' option, where characters are
mapped in Insert mode. mapped in Insert mode.
Also consider setting 'langnoremap' to avoid 'langmap' applies to
characters resulting from a mapping.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons. security reasons.

View File

@ -392,6 +392,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'kp' options.txt /*'kp'* 'kp' options.txt /*'kp'*
'langmap' options.txt /*'langmap'* 'langmap' options.txt /*'langmap'*
'langmenu' options.txt /*'langmenu'* 'langmenu' options.txt /*'langmenu'*
'langnoremap' options.txt /*'langnoremap'*
'laststatus' options.txt /*'laststatus'* 'laststatus' options.txt /*'laststatus'*
'lazyredraw' options.txt /*'lazyredraw'* 'lazyredraw' options.txt /*'lazyredraw'*
'lbr' options.txt /*'lbr'* 'lbr' options.txt /*'lbr'*
@ -405,6 +406,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'listchars' options.txt /*'listchars'* 'listchars' options.txt /*'listchars'*
'lm' options.txt /*'lm'* 'lm' options.txt /*'lm'*
'lmap' options.txt /*'lmap'* 'lmap' options.txt /*'lmap'*
'lnr' options.txt /*'lnr'*
'loadplugins' options.txt /*'loadplugins'* 'loadplugins' options.txt /*'loadplugins'*
'lpl' options.txt /*'lpl'* 'lpl' options.txt /*'lpl'*
'ls' options.txt /*'ls'* 'ls' options.txt /*'ls'*

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.4. Last change: 2014 Nov 05 *todo.txt* For Vim version 7.4. Last change: 2014 Nov 13
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -34,6 +34,8 @@ not be repeated below, unless there is extra information.
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
Add langnoremap in quickref.txt and optwin.vim.
Regexp problems: Regexp problems:
- The NFA engine does not implement the time limit passed to - The NFA engine does not implement the time limit passed to
nfa_regexec_multi() nfa_regexec_multi()
@ -73,6 +75,7 @@ Patch by Marcin Szamotulski to add count to :close (2014 Aug 10, update Aug
Make ":+1close" close the next window. Make ":+1close" close the next window.
Make ":-1close" close the previous window. Make ":-1close" close the previous window.
Doesn't look right, asked for updates. Doesn't look right, asked for updates.
Update 2014 Nov 8. Replied with suggestions.
C macro with number highlighted wrong. (Dominique Pelle, 2014 Oct 23) C macro with number highlighted wrong. (Dominique Pelle, 2014 Oct 23)
@ -81,30 +84,12 @@ set with setmatches(). (lcd47, 2014 Jun 29)
Gvim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab. Gvim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab.
Patch to add 'langnoremap'. (Christian Brabandt, 2014 Oct 15)
Update Oct 20.
Patch to add append mode to writefile(). (Yasuhiro Matsumoto, 2014 Nov 1)
Remove restriction in NSIS installer that the end of the path must be "Vim".
(Tim Lebedkov, 2014 Sep 24) Again Oct 12. Now on issue 272.
Fix that on MS-Windows MAX_PATH in bytes causes problems for file names
between MAX_PATH and double that for double-byte encodings. (Ken Takata, 2014
Oct 15)
Another problem with MAX_PATH, off-by-one. (Ken Takata, 2014 Oct 21)
Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15) Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15)
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack) Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
'foldexpr' applies to help. (Paul Marshall, 2014 Sep 24)
Patch to fix issue 203. (Christian Brabandt, 2014 Oct 8) Patch to fix issue 203. (Christian Brabandt, 2014 Oct 8)
Patch to fix issue 253. (Christian Brabandt, 2014 Oct 8)
Patch to fix issue 78. (Christian Brabandt, 2014 Oct 8) Patch to fix issue 78. (Christian Brabandt, 2014 Oct 8)
Patch to fix leak in map() with error. (Christian Brabandt, 2014 Oct 11) Patch to fix leak in map() with error. (Christian Brabandt, 2014 Oct 11)
@ -113,9 +98,20 @@ Patch to fix incsearch for "2/pattern/e".
Change behavior of v:hlsearch? Patch from Christian, 2014 Oct 22. Change behavior of v:hlsearch? Patch from Christian, 2014 Oct 22.
MS-Windows: When editing a file with a leading space, writing it uses the
wrong name. (Aram, 2014 Nov 7) Vim 7.4.
patch to remove FEAT_OSFILETYPE from fileio.c. (Christian, 2014 Nov 12)
Value returned by virtcol() changes depending on how lines wrap. This is Value returned by virtcol() changes depending on how lines wrap. This is
inconsistent with the documentation. inconsistent with the documentation.
Fix for wrong formatting if 'linebreak' is set. (Christian Brabandt, 2014 Nov
12)
Patch to support hex values for setting option value.
(Zyx, 2015 Nov 6)
On MS-Windows running tests with Mercurial has problems when the input files On MS-Windows running tests with Mercurial has problems when the input files
are changed. (Ken Takata, Taro Muraoka, 2014 Sep 25) are changed. (Ken Takata, Taro Muraoka, 2014 Sep 25)
Update Nov 5. Update Nov 5.
@ -123,6 +119,9 @@ Update Nov 5.
MS-Windows: Crash opening very long file name starting with "\\". MS-Windows: Crash opening very long file name starting with "\\".
(Christian Brock, 2012 Jun 29) (Christian Brock, 2012 Jun 29)
Problem using diff syntax with cp932 encoding. Idea from Yasuhiro Matsumoto,
patch from Ken Takata (2014 Nov 6)
ml_updatechunk() is slow when retrying for another encoding. (John Little, ml_updatechunk() is slow when retrying for another encoding. (John Little,
2014 Sep 11) 2014 Sep 11)
@ -161,8 +160,10 @@ Patch from Jacob, Nov 2.
"hi link" does not respect groups with GUI settings only. (Mark Lodato, 2014 "hi link" does not respect groups with GUI settings only. (Mark Lodato, 2014
Jun 8) Jun 8)
Patch to switch to the BT regexp engine when the NFA engine uses many states. Bug: Autocompleting ":tag/pat" replaces "/pat" with a match but does not
(Christian Brabandt, 2014 Oct 3) insert a space. (Micha Mos, 2014 Nov 7)
Patch to add the :bvimgrep command. (Christian Brabandt, 2014 Nov 12)
Patch to add argument to :cquit. (Thinca, 2014 Oct 12) Patch to add argument to :cquit. (Thinca, 2014 Oct 12)

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: man " Language: man
" Maintainer: SungHyun Nam <goweol@gmail.com> " Maintainer: SungHyun Nam <goweol@gmail.com>
" Last Change: 2013 Jul 17 " Last Change: 2014 Nov 12
" To make the ":Man" command available before editing a manual page, source " To make the ":Man" command available before editing a manual page, source
" this script from your startup vimrc file. " this script from your startup vimrc file.
@ -63,7 +63,9 @@ endtry
func <SID>PreGetPage(cnt) func <SID>PreGetPage(cnt)
if a:cnt == 0 if a:cnt == 0
let old_isk = &iskeyword let old_isk = &iskeyword
if &ft == 'man'
setl iskeyword+=(,) setl iskeyword+=(,)
endif
let str = expand("<cword>") let str = expand("<cword>")
let &l:iskeyword = old_isk let &l:iskeyword = old_isk
let page = substitute(str, '(*\(\k\+\).*', '\1', '') let page = substitute(str, '(*\(\k\+\).*', '\1', '')

View File

@ -2,7 +2,7 @@
" Language: Lua script " Language: Lua script
" Maintainer: Marcus Aurelius Farias <marcus.cf 'at' bol.com.br> " Maintainer: Marcus Aurelius Farias <marcus.cf 'at' bol.com.br>
" First Author: Max Ischenko <mfi 'at' ukr.net> " First Author: Max Ischenko <mfi 'at' ukr.net>
" Last Change: 2007 Jul 23 " Last Change: 2014 Nov 12
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -54,7 +54,7 @@ function! GetLuaIndent()
" Subtract a 'shiftwidth' on end, else (and elseif), until and '}' " Subtract a 'shiftwidth' on end, else (and elseif), until and '}'
" This is the part that requires 'indentkeys'. " This is the part that requires 'indentkeys'.
let midx = match(getline(v:lnum), '^\s*\%(end\|else\|until\|}\)') let midx = match(getline(v:lnum), '^\s*\%(end\>\|else\>\|until\>\|}\)')
if midx != -1 && synIDattr(synID(v:lnum, midx + 1, 1), "name") != "luaComment" if midx != -1 && synIDattr(synID(v:lnum, midx + 1, 1), "name") != "luaComment"
let ind = ind - &shiftwidth let ind = ind - &shiftwidth
endif endif

View File

@ -2,7 +2,7 @@
" Language: Diff (context or unified) " Language: Diff (context or unified)
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Translations by Jakson Alves de Aquino. " Translations by Jakson Alves de Aquino.
" Last Change: 2013 Oct 06 " Last Change: 2014 Nov 12
" Quit when a (custom) syntax file was already loaded " Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax") if exists("b:current_syntax")
@ -125,7 +125,7 @@ syn match diffIdentical "^םיהז םניה .*-ו .* םיצבקה$"
syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$" syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$"
syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$" syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$"
syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$" syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$"
syn match diffNoEOL "^\\ ץבוקה ףוסב השדח-הרוש ות רסח" syn match diffNoEOL "^\\ ץבוקה ףוסב השד.-הרוש ות רס."
syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$" syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$"
" hr " hr