Skip to content

Commit 876dc4b

Browse files
committed
Updated for version 7.4.516
Merge branch 'lilydjwg-all' into all
2 parents 65ab54c + 87b9d3c commit 876dc4b

18 files changed

+904
-450
lines changed

.hgtags

+4
Original file line numberDiff line numberDiff line change
@@ -3235,3 +3235,7 @@ edfa81ea17117e6db410db58cb2a26789aff50b5 v7-4-504
32353235
05850b74218baa3daa2f5a8c40e14d07e9371825 v7-4-510
32363236
7623d953d3bc2973e7a40f5a28c8f2d7d16f7891 v7-4-511
32373237
9f9058aeba0d41d264c1ec1ef6ee4cee5aaa8ab6 v7-4-512
3238+
6ad9facba57daad4c68b8d1cb3a8efe12d6ae4a9 v7-4-513
3239+
e6c5ff35500d907cad9bfa1f6babdc08a4a90aa0 v7-4-514
3240+
387e636805243f4ade8da63fa7c115dec64aa56e v7-4-515
3241+
81c9b19ee0fb867a8364f73bdcc865676220cb0b v7-4-516

runtime/doc/editing.txt

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 7.4. Last change: 2014 Sep 19
1+
*editing.txt* For Vim version 7.4. Last change: 2014 Nov 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1415,13 +1415,11 @@ Do this before writing the file. When reading an encrypted file it will be
14151415
set automatically to the method used when that file was written. You can
14161416
change 'cryptmethod' before writing that file to change the method.
14171417

1418-
To set the default method, used for new files, use one of these in your
1419-
|vimrc| file: >
1420-
set cm=zip
1418+
To set the default method, used for new files, use this in your |vimrc|
1419+
file: >
14211420
set cm=blowfish2
1422-
Use the first one if you need to be compatible with Vim 7.2 and older. Using
1423-
"blowfish2" is highly recommended if you can use a Vim version that supports
1424-
it.
1421+
Using "blowfish2" is highly recommended. Only use another method if you
1422+
must use an older Vim version that does not support it.
14251423

14261424
The message given for reading and writing a file will show "[crypted]" when
14271425
using zip, "[blowfish]" when using blowfish, etc.

runtime/doc/eval.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2014 Sep 27
1+
*eval.txt* For Vim version 7.4. Last change: 2014 Nov 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4851,7 +4851,7 @@ readfile({fname} [, {binary} [, {max}]])
48514851
separated with CR will result in a single long line (unless a
48524852
NL appears somewhere).
48534853
All NUL characters are replaced with a NL character.
4854-
When {binary} is equal to "b" binary mode is used:
4854+
When {binary/append} is contains "b" binary mode is used:
48554855
- When the last line ends in a NL an extra empty list item is
48564856
added.
48574857
- No CR characters are removed.

runtime/doc/options.txt

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

runtime/doc/tags

+2
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
392392
'kp' options.txt /*'kp'*
393393
'langmap' options.txt /*'langmap'*
394394
'langmenu' options.txt /*'langmenu'*
395+
'langnoremap' options.txt /*'langnoremap'*
395396
'laststatus' options.txt /*'laststatus'*
396397
'lazyredraw' options.txt /*'lazyredraw'*
397398
'lbr' options.txt /*'lbr'*
@@ -405,6 +406,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
405406
'listchars' options.txt /*'listchars'*
406407
'lm' options.txt /*'lm'*
407408
'lmap' options.txt /*'lmap'*
409+
'lnr' options.txt /*'lnr'*
408410
'loadplugins' options.txt /*'loadplugins'*
409411
'lpl' options.txt /*'lpl'*
410412
'ls' options.txt /*'ls'*

runtime/doc/todo.txt

+22-21
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2014 Nov 05
1+
*todo.txt* For Vim version 7.4. Last change: 2014 Nov 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -34,6 +34,8 @@ not be repeated below, unless there is extra information.
3434
*known-bugs*
3535
-------------------- Known bugs and current work -----------------------
3636

37+
Add langnoremap in quickref.txt and optwin.vim.
38+
3739
Regexp problems:
3840
- The NFA engine does not implement the time limit passed to
3941
nfa_regexec_multi()
@@ -73,6 +75,7 @@ Patch by Marcin Szamotulski to add count to :close (2014 Aug 10, update Aug
7375
Make ":+1close" close the next window.
7476
Make ":-1close" close the previous window.
7577
Doesn't look right, asked for updates.
78+
Update 2014 Nov 8. Replied with suggestions.
7679

7780
C macro with number highlighted wrong. (Dominique Pelle, 2014 Oct 23)
7881

@@ -81,30 +84,12 @@ set with setmatches(). (lcd47, 2014 Jun 29)
8184

8285
Gvim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab.
8386

84-
Patch to add 'langnoremap'. (Christian Brabandt, 2014 Oct 15)
85-
Update Oct 20.
86-
87-
Patch to add append mode to writefile(). (Yasuhiro Matsumoto, 2014 Nov 1)
88-
89-
Remove restriction in NSIS installer that the end of the path must be "Vim".
90-
(Tim Lebedkov, 2014 Sep 24) Again Oct 12. Now on issue 272.
91-
92-
Fix that on MS-Windows MAX_PATH in bytes causes problems for file names
93-
between MAX_PATH and double that for double-byte encodings. (Ken Takata, 2014
94-
Oct 15)
95-
96-
Another problem with MAX_PATH, off-by-one. (Ken Takata, 2014 Oct 21)
97-
9887
Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15)
9988

10089
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
10190

102-
'foldexpr' applies to help. (Paul Marshall, 2014 Sep 24)
103-
10491
Patch to fix issue 203. (Christian Brabandt, 2014 Oct 8)
10592

106-
Patch to fix issue 253. (Christian Brabandt, 2014 Oct 8)
107-
10893
Patch to fix issue 78. (Christian Brabandt, 2014 Oct 8)
10994

11095
Patch to fix leak in map() with error. (Christian Brabandt, 2014 Oct 11)
@@ -113,16 +98,30 @@ Patch to fix incsearch for "2/pattern/e".
11398

11499
Change behavior of v:hlsearch? Patch from Christian, 2014 Oct 22.
115100

101+
MS-Windows: When editing a file with a leading space, writing it uses the
102+
wrong name. (Aram, 2014 Nov 7) Vim 7.4.
103+
104+
patch to remove FEAT_OSFILETYPE from fileio.c. (Christian, 2014 Nov 12)
105+
116106
Value returned by virtcol() changes depending on how lines wrap. This is
117107
inconsistent with the documentation.
118108

109+
Fix for wrong formatting if 'linebreak' is set. (Christian Brabandt, 2014 Nov
110+
12)
111+
112+
Patch to support hex values for setting option value.
113+
(Zyx, 2015 Nov 6)
114+
119115
On MS-Windows running tests with Mercurial has problems when the input files
120116
are changed. (Ken Takata, Taro Muraoka, 2014 Sep 25)
121117
Update Nov 5.
122118

123119
MS-Windows: Crash opening very long file name starting with "\\".
124120
(Christian Brock, 2012 Jun 29)
125121

122+
Problem using diff syntax with cp932 encoding. Idea from Yasuhiro Matsumoto,
123+
patch from Ken Takata (2014 Nov 6)
124+
126125
ml_updatechunk() is slow when retrying for another encoding. (John Little,
127126
2014 Sep 11)
128127

@@ -161,8 +160,10 @@ Patch from Jacob, Nov 2.
161160
"hi link" does not respect groups with GUI settings only. (Mark Lodato, 2014
162161
Jun 8)
163162

164-
Patch to switch to the BT regexp engine when the NFA engine uses many states.
165-
(Christian Brabandt, 2014 Oct 3)
163+
Bug: Autocompleting ":tag/pat" replaces "/pat" with a match but does not
164+
insert a space. (Micha Mos, 2014 Nov 7)
165+
166+
Patch to add the :bvimgrep command. (Christian Brabandt, 2014 Nov 12)
166167

167168
Patch to add argument to :cquit. (Thinca, 2014 Oct 12)
168169

runtime/ftplugin/man.vim

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim filetype plugin file
22
" Language: man
33
" Maintainer: SungHyun Nam <goweol@gmail.com>
4-
" Last Change: 2013 Jul 17
4+
" Last Change: 2014 Nov 12
55

66
" To make the ":Man" command available before editing a manual page, source
77
" this script from your startup vimrc file.
@@ -63,7 +63,9 @@ endtry
6363
func <SID>PreGetPage(cnt)
6464
if a:cnt == 0
6565
let old_isk = &iskeyword
66-
setl iskeyword+=(,)
66+
if &ft == 'man'
67+
setl iskeyword+=(,)
68+
endif
6769
let str = expand("<cword>")
6870
let &l:iskeyword = old_isk
6971
let page = substitute(str, '(*\(\k\+\).*', '\1', '')

runtime/indent/lua.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Language: Lua script
33
" Maintainer: Marcus Aurelius Farias <marcus.cf 'at' bol.com.br>
44
" First Author: Max Ischenko <mfi 'at' ukr.net>
5-
" Last Change: 2007 Jul 23
5+
" Last Change: 2014 Nov 12
66

77
" Only load this indent file when no other was loaded.
88
if exists("b:did_indent")
@@ -54,7 +54,7 @@ function! GetLuaIndent()
5454

5555
" Subtract a 'shiftwidth' on end, else (and elseif), until and '}'
5656
" This is the part that requires 'indentkeys'.
57-
let midx = match(getline(v:lnum), '^\s*\%(end\|else\|until\|}\)')
57+
let midx = match(getline(v:lnum), '^\s*\%(end\>\|else\>\|until\>\|}\)')
5858
if midx != -1 && synIDattr(synID(v:lnum, midx + 1, 1), "name") != "luaComment"
5959
let ind = ind - &shiftwidth
6060
endif

runtime/syntax/diff.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Language: Diff (context or unified)
33
" Maintainer: Bram Moolenaar <Bram@vim.org>
44
" Translations by Jakson Alves de Aquino.
5-
" Last Change: 2013 Oct 06
5+
" Last Change: 2014 Nov 12
66

77
" Quit when a (custom) syntax file was already loaded
88
if exists("b:current_syntax")
@@ -125,7 +125,7 @@ syn match diffIdentical "^םיהז םניה .*-ו .* םיצבקה$"
125125
syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$"
126126
syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$"
127127
syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$"
128-
syn match diffNoEOL "^\\ ץבוקה ףוסב השדח-הרוש ות רסח"
128+
syn match diffNoEOL "^\\ ץבוקה ףוסב השד.-הרוש ות רס."
129129
syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$"
130130

131131
" hr

src/edit.c

+2
Original file line numberDiff line numberDiff line change
@@ -6984,6 +6984,8 @@ stop_insert(end_insert_pos, esc, nomove)
69846984
curwin->w_cursor = tpos;
69856985
else
69866986
{
6987+
/* reset tpos, could have been invalidated in the loop above */
6988+
tpos = curwin->w_cursor;
69876989
tpos.col++;
69886990
if (cc != NUL && gchar_pos(&tpos) == NUL)
69896991
++curwin->w_cursor.col; /* put cursor back on the NUL */

src/eval.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -3368,11 +3368,11 @@ set_context_for_expression(xp, arg, cmdidx)
33683368
got_eq = TRUE;
33693369
xp->xp_context = EXPAND_EXPRESSION;
33703370
}
3371-
else if (c == '<'
3371+
else if ((c == '<' || c == '#')
33723372
&& xp->xp_context == EXPAND_FUNCTIONS
33733373
&& vim_strchr(xp->xp_pattern, '(') == NULL)
33743374
{
3375-
/* Function name can start with "<SNR>" */
3375+
/* Function name can start with "<SNR>" and contain '#'. */
33763376
break;
33773377
}
33783378
else if (cmdidx != CMD_let || got_eq)
@@ -12008,6 +12008,8 @@ f_getreg(argvars, rettv)
1200812008
rettv->v_type = VAR_LIST;
1200912009
rettv->vval.v_list = (list_T *)get_reg_contents(regname,
1201012010
(arg2 ? GREG_EXPR_SRC : 0) | GREG_LIST);
12011+
if (rettv->vval.v_list != NULL)
12012+
++rettv->vval.v_list->lv_refcount;
1201112013
}
1201212014
else
1201312015
{

0 commit comments

Comments
 (0)