diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-11-13 14:25:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-11-13 14:25:38 +0100 |
commit | c229967caa0f624224dbfbc8743bbeb711e114ee (patch) | |
tree | 2e18a1ac02e3050c8b63575f233ad0e62b0201cd /runtime | |
parent | 8a349ff944dc01ca0e52f10144d8660aab430c9c (diff) |
Update runtime files.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/editing.txt | 12 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 4 | ||||
-rw-r--r-- | runtime/doc/options.txt | 2 | ||||
-rw-r--r-- | runtime/doc/tags | 2 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 43 | ||||
-rw-r--r-- | runtime/ftplugin/man.vim | 6 | ||||
-rw-r--r-- | runtime/indent/lua.vim | 4 | ||||
-rw-r--r-- | runtime/syntax/diff.vim | 4 |
8 files changed, 41 insertions, 36 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index add3bb0878..b02f8faec2 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -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 @@ -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 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 -|vimrc| file: > - set cm=zip +To set the default method, used for new files, use this in your |vimrc| +file: > set cm=blowfish2 -Use the first one if you need to be compatible with Vim 7.2 and older. Using -"blowfish2" is highly recommended if you can use a Vim version that supports -it. +Using "blowfish2" is highly recommended. Only use another method if you +must use an older Vim version that does not support it. The message given for reading and writing a file will show "[crypted]" when using zip, "[blowfish]" when using blowfish, etc. diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 4e349a6e08..f21e051b6e 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -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 @@ -4851,7 +4851,7 @@ readfile({fname} [, {binary} [, {max}]]) separated with CR will result in a single long line (unless a NL appears somewhere). 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 added. - No CR characters are removed. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 525a08cdbe..72459b0fc5 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -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. This is the opposite of the 'keymap' option, where characters are 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 security reasons. diff --git a/runtime/doc/tags b/runtime/doc/tags index 460be9044e..9a23ce4cf9 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -392,6 +392,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* 'kp' options.txt /*'kp'* 'langmap' options.txt /*'langmap'* 'langmenu' options.txt /*'langmenu'* +'langnoremap' options.txt /*'langnoremap'* 'laststatus' options.txt /*'laststatus'* 'lazyredraw' options.txt /*'lazyredraw'* 'lbr' options.txt /*'lbr'* @@ -405,6 +406,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* 'listchars' options.txt /*'listchars'* 'lm' options.txt /*'lm'* 'lmap' options.txt /*'lmap'* +'lnr' options.txt /*'lnr'* 'loadplugins' options.txt /*'loadplugins'* 'lpl' options.txt /*'lpl'* 'ls' options.txt /*'ls'* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 32b1f901c3..aa44d481d9 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -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 @@ -34,6 +34,8 @@ not be repeated below, unless there is extra information. *known-bugs* -------------------- Known bugs and current work ----------------------- +Add langnoremap in quickref.txt and optwin.vim. + Regexp problems: - The NFA engine does not implement the time limit passed to 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 previous window. 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) @@ -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. -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) 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 253. (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) @@ -113,9 +98,20 @@ Patch to fix incsearch for "2/pattern/e". 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 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 are changed. (Ken Takata, Taro Muraoka, 2014 Sep 25) Update Nov 5. @@ -123,6 +119,9 @@ Update Nov 5. MS-Windows: Crash opening very long file name starting with "\\". (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, 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 Jun 8) -Patch to switch to the BT regexp engine when the NFA engine uses many states. -(Christian Brabandt, 2014 Oct 3) +Bug: Autocompleting ":tag/pat" replaces "/pat" with a match but does not +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) diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index c6e1e9d4f7..11b2b0a665 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: man " 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 " this script from your startup vimrc file. @@ -63,7 +63,9 @@ endtry func <SID>PreGetPage(cnt) if a:cnt == 0 let old_isk = &iskeyword - setl iskeyword+=(,) + if &ft == 'man' + setl iskeyword+=(,) + endif let str = expand("<cword>") let &l:iskeyword = old_isk let page = substitute(str, '(*\(\k\+\).*', '\1', '') diff --git a/runtime/indent/lua.vim b/runtime/indent/lua.vim index 21b02f1549..5f049d4585 100644 --- a/runtime/indent/lua.vim +++ b/runtime/indent/lua.vim @@ -2,7 +2,7 @@ " Language: Lua script " Maintainer: Marcus Aurelius Farias <marcus.cf 'at' bol.com.br> " 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. if exists("b:did_indent") @@ -54,7 +54,7 @@ function! GetLuaIndent() " Subtract a 'shiftwidth' on end, else (and elseif), until and '}' " 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" let ind = ind - &shiftwidth endif diff --git a/runtime/syntax/diff.vim b/runtime/syntax/diff.vim index aa5be3f6fe..a0005140b2 100644 --- a/runtime/syntax/diff.vim +++ b/runtime/syntax/diff.vim @@ -2,7 +2,7 @@ " Language: Diff (context or unified) " Maintainer: Bram Moolenaar <Bram@vim.org> " 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 if exists("b:current_syntax") @@ -125,7 +125,7 @@ syn match diffIdentical "^םיהז םניה .*-ו .* םיצבקה$" syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$" syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$" syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$" -syn match diffNoEOL "^\\ ץבוקה ףוסב השדח-הרוש ות רסח" +syn match diffNoEOL "^\\ ץבוקה ףוסב השד.-הרוש ות רס." syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$" " hr |