Skip to content

Commit 90a2abe

Browse files
committed
Merge branch 'vim'
2 parents 04f77a4 + 835cc6e commit 90a2abe

27 files changed

+272
-133
lines changed

.hgtags

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2745,3 +2745,8 @@ d5eb32dc231cd870c562e7b0be96fa994b505d9f v7-4-019
27452745
c1ae5baa41f47bbf96be81e0158707a88af48b34 v7-4-020
27462746
c514693882b9f1c7be2e76a0307926df799da3ea v7-4-021
27472747
965044860b7f4884657fcaa042853238c7b13e69 v7-4-022
2748+
09361f13580b075b6e87707c47165e8d45ee98a5 v7-4-023
2749+
00d61a47df66cad21b80c6a683164e8d19180045 v7-4-024
2750+
9085d32d7424963013650805452ede5dad22211c v7-4-025
2751+
6bbb2ae990c92f6858b86c047e16dd12183d4273 v7-4-026
2752+
73cc7272de5e0173b9578f715c4794a8b3803bce v7-4-027

runtime/doc/change.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 7.4. Last change: 2013 Jul 17
1+
*change.txt* For Vim version 7.4. Last change: 2013 Aug 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1126,6 +1126,8 @@ less than one line (the small delete register is used then). An exception is
11261126
made for the delete operator with these movement commands: |%|, |(|, |)|, |`|,
11271127
|/|, |?|, |n|, |N|, |{| and |}|. Register "1 is always used then (this is Vi
11281128
compatible). The "- register is used as well if the delete is within a line.
1129+
Note that these character may be mapped. E.g. |%| is mapped by the matchit
1130+
plugin.
11291131
With each successive deletion or change, Vim shifts the previous contents
11301132
of register 1 into register 2, 2 into 3, and so forth, losing the previous
11311133
contents of register 9.

runtime/doc/eval.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2013 Aug 03
1+
*eval.txt* For Vim version 7.4. Last change: 2013 Aug 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -123,6 +123,7 @@ around the arguments, to invoke the function it refers to. Example: >
123123
:echo Fn()
124124
< *E704* *E705* *E707*
125125
A Funcref variable must start with a capital, "s:", "w:", "t:" or "b:". You
126+
can use "g:" but the following name must still start with a capital. You
126127
cannot have both a Funcref variable and a function with the same name.
127128

128129
A special case is defining a function and directly assigning its Funcref to a
@@ -6337,6 +6338,7 @@ There are three types of features:
63376338
< Note that it's possible for patch 147 to be omitted even though 148 is
63386339
included.
63396340

6341+
acl Compiled with |ACL| support.
63406342
all_builtin_terms Compiled with all builtin terminals enabled.
63416343
amiga Amiga version of Vim.
63426344
arabic Compiled with Arabic support |Arabic|.
@@ -6507,7 +6509,9 @@ windows Compiled with support for more than one window.
65076509
writebackup Compiled with 'writebackup' default on.
65086510
xfontset Compiled with X fontset support |xfontset|.
65096511
xim Compiled with X input method support |xim|.
6510-
xpm_w32 Compiled with pixmap support for Win32.
6512+
xpm Compiled with pixmap support.
6513+
xpm_w32 Compiled with pixmap support for Win32. (Only for
6514+
backward compatibility. Use "xpm" instead.)
65116515
xsmp Compiled with X session management support.
65126516
xsmp_interact Compiled with interactive X session management support.
65136517
xterm_clipboard Compiled with support for xterm clipboard.

runtime/doc/if_lua.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_lua.txt* For Vim version 7.4. Last change: 2012 Jun 29
1+
*if_lua.txt* For Vim version 7.4. Last change: 2013 Sep 04
22

33

44
VIM REFERENCE MANUAL by Luis Carvalho
@@ -135,7 +135,7 @@ Vim evaluation and command execution, and others.
135135
<
136136
vim.funcref({name}) Returns a Funcref to function {name} (see
137137
|Funcref|). It is equivalent to Vim's
138-
"function".
138+
"function". NOT IMPLEMENTED YET
139139

140140
vim.buffer([arg]) If "arg" is a number, returns buffer with
141141
number "arg" in the buffer list or, if "arg"

runtime/doc/map.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*map.txt* For Vim version 7.4. Last change: 2013 Aug 03
1+
*map.txt* For Vim version 7.4. Last change: 2013 Aug 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -380,7 +380,7 @@ it's just used here for this situation.
380380
The simplest way to load a set of related language mappings is by using the
381381
'keymap' option. See |45.5|.
382382
In Insert mode and in Command-line mode the mappings can be disabled with
383-
the CTRL-^ command |i_CTRL-^| |c_CTRL-^| These commands change the value of
383+
the CTRL-^ command |i_CTRL-^| |c_CTRL-^|. These commands change the value of
384384
the 'iminsert' option. When starting to enter a normal command line (not a
385385
search pattern) the mappings are disabled until a CTRL-^ is typed. The state
386386
last used is remembered for Insert mode and Search patterns separately. The
@@ -1359,6 +1359,8 @@ There are some special cases as well:
13591359
In the cases of the -count and -register attributes, if the optional argument
13601360
is supplied, it is removed from the argument list and is available to the
13611361
replacement text separately.
1362+
Note that these arguments can be abbreviated, but that is a deprecated
1363+
feature. Use the full name for new scripts.
13621364

13631365
Replacement text
13641366

runtime/doc/options.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 7.4. Last change: 2013 Jul 09
1+
*options.txt* For Vim version 7.4. Last change: 2013 Aug 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1889,8 +1889,8 @@ A jump table for the options with a short description can be found at |Q_op|.
18891889
global
18901890
{not in Vi}
18911891
A sequence of single character flags. When a character is present
1892-
this indicates vi-compatible behavior. This is used for things where
1893-
not being vi-compatible is mostly or sometimes preferred.
1892+
this indicates Vi-compatible behavior. This is used for things where
1893+
not being Vi-compatible is mostly or sometimes preferred.
18941894
'cpoptions' stands for "compatible-options".
18951895
Commas can be added for readability.
18961896
To avoid problems with flags that are added in the future, use the

runtime/doc/os_vms.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_vms.txt* For Vim version 7.4. Last change: 2011 Aug 14
1+
*os_vms.txt* For Vim version 7.4. Last change: 2013 Aug 22
22

33

44
VIM REFERENCE MANUAL
@@ -24,7 +24,7 @@ prompt.
2424

2525
1. Getting started *vms-started*
2626

27-
Vim (Vi IMproved) is a vi-compatible text editor that runs on nearly every
27+
Vim (Vi IMproved) is a Vi-compatible text editor that runs on nearly every
2828
operating system known to humanity. Now use Vim on OpenVMS too, in character
2929
or X/Motif environment. It is fully featured and absolutely compatible with
3030
Vim on other operating systems.

runtime/doc/syntax.txt

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 7.4. Last change: 2013 Jul 05
1+
*syntax.txt* For Vim version 7.4. Last change: 2013 Aug 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3156,18 +3156,16 @@ The g:vimsyn_embed option allows users to select what, if any, types of
31563156
embedded script highlighting they wish to have. >
31573157
31583158
g:vimsyn_embed == 0 : don't embed any scripts
3159-
g:vimsyn_embed =~ 'm' : embed mzscheme (but only if vim supports it)
3160-
g:vimsyn_embed =~ 'p' : embed perl (but only if vim supports it)
3161-
g:vimsyn_embed =~ 'P' : embed python (but only if vim supports it)
3162-
g:vimsyn_embed =~ 'r' : embed ruby (but only if vim supports it)
3163-
g:vimsyn_embed =~ 't' : embed tcl (but only if vim supports it)
3159+
g:vimsyn_embed =~ 'm' : support embedded mzscheme
3160+
g:vimsyn_embed =~ 'p' : support embedded perl
3161+
g:vimsyn_embed =~ 'P' : support embedded python
3162+
g:vimsyn_embed =~ 'r' : support embedded ruby
3163+
g:vimsyn_embed =~ 't' : support embedded tcl
31643164
<
3165-
By default, g:vimsyn_embed is "mpPr"; ie. syntax/vim.vim will support
3166-
highlighting mzscheme, perl, python, and ruby by default. Vim's has("tcl")
3167-
test appears to hang vim when tcl is not truly available. Thus, by default,
3168-
tcl is not supported for embedding (but those of you who like tcl embedded in
3169-
their vim syntax highlighting can simply include it in the g:vimembedscript
3170-
option).
3165+
By default, g:vimsyn_embed is a string supporting interpreters that your vim
3166+
itself supports. Concatenate multiple characters to support multiple types
3167+
of embedded interpreters; ie. g:vimsyn_embed= "mp" supports embedded mzscheme
3168+
and embedded perl.
31713169
*g:vimsyn_folding*
31723170

31733171
Some folding is now supported with syntax/vim.vim: >

runtime/doc/tags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
11541154
+GUI_Photon various.txt /*+GUI_Photon*
11551155
+GUI_neXtaw various.txt /*+GUI_neXtaw*
11561156
+X11 various.txt /*+X11*
1157+
+acl various.txt /*+acl*
11571158
+arabic various.txt /*+arabic*
11581159
+autocmd various.txt /*+autocmd*
11591160
+balloon_eval various.txt /*+balloon_eval*
@@ -1279,6 +1280,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
12791280
+writebackup various.txt /*+writebackup*
12801281
+xfontset various.txt /*+xfontset*
12811282
+xim various.txt /*+xim*
1283+
+xpm various.txt /*+xpm*
12821284
+xpm_w32 various.txt /*+xpm_w32*
12831285
+xsmp various.txt /*+xsmp*
12841286
+xsmp_interact various.txt /*+xsmp_interact*

runtime/doc/todo.txt

Lines changed: 82 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2013 Aug 10
1+
*todo.txt* For Vim version 7.4. Last change: 2013 Sep 05
22

33

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

37+
NFA engine mismatch, with example. (ZyX, 2013 Aug 29)
38+
39+
php syntax file update. (Jason Woofenden, Aug 30)
40+
41+
Problem positioning the cursor after auto-formatting without a comment. (Tor
42+
Perkins, 2013 Sep 1)
43+
44+
Popup menu: first item is not selected when typing more than one character?
45+
46+
Patch to add async functionality. (Geoff Greer, 2013 Sep 1)
47+
48+
Patch to avoid mouse cursor flickering. (Ken Takata,, 2013 Sep 2)
49+
50+
Should win_redr_custom() not be allowed to use recursively?
51+
(Yasuhiro Matsumoto, 2013 Aug 15)
52+
53+
NFA engine combining character mismatch. (glts, 2013 Aug 27)
54+
Remark Dominique, Aug 27
55+
56+
Issue 164: freeze on regexp search.
57+
3758
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
3859

39-
Patch to add "acl" and "xpm" as a feature. (Ken Takata, 2013 Jul 8)
60+
Patch to fix substitute prompt with line number. (Benoit Pierre, 2013 Aug 27,
61+
third message)
62+
63+
Patch to avoid problem with colon in file name. (Yasuhiro Matsumoto, 2013 Sep
64+
5) Only copy file name when needed.
65+
66+
Include systemverilog file? Two votes yes.
67+
68+
Wrapping around end of file does not work for "." after "cgn". (Dimitar
69+
Dimitrov)
70+
Patch by Christian Brabandt, 2013 Aug 22
71+
72+
Problem with 'spellsuggest' file, only works for some words.
73+
(Cesar Romani, 2013 Aug 20) Depends on file name? (Aug 24)
74+
Additional remark by glts: the suggested words are marked bad?
75+
76+
Syntax highlighting slow (hangs) in SASS file. (Niek Bosch, 2013 Aug 21)
77+
78+
Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19)
4079

4180
Patch to make has() check for Vim version and patch at the same time.
4281
(Marc Weber, 2013 Jun 7)
@@ -46,13 +85,22 @@ highlight group. Add a "\zs" after it?
4685

4786
Go through more coverity reports.
4887

49-
"gUgn" cannot be repeated, while "dgn" can.
88+
With "$" in 'cpoptions' the popup menu isn't fully drawn. (Matti Niemenmaa,
89+
2013 Sep 5)
90+
91+
"gUgn" cannot be repeated, while "dgn" can. (Dimitar Dimitrov)
92+
Patch by Christian Brabandt (2013 Aug 12)
5093

5194
Several Win32 functions are not using Unicode.
5295
Patches to fix this. (Ken Takata, 2013 Aug 9)
5396

5497
/[b-a] gives error E16, should probably be E769.
5598

99+
:help gives example for z?, but it does not work. m? and t? do work.
100+
101+
Patch to add funcref to Lua. (Luis Carvalho, 2013 Sep 4)
102+
Missing tests.
103+
56104
Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10)
57105

58106
Patch to make external commands work with multi-byte characters on Win32 when
@@ -85,7 +133,7 @@ Not 100% sure this is the right solution.
85133

86134
Win32: When a directory name contains an exclamation mark, completion doesn't
87135
complete the contents of the directory. No escaping for the "!"? (Jan
88-
Stocker, 2012 Jan 5)
136+
Stocker, 2012 Jan 5; 2013 Aug 20)
89137

90138
Patch to support expression argument to sort() instead of a function name.
91139
Yasuhiro Matsumoto, 2013 May 31.
@@ -94,6 +142,10 @@ Or should we add a more general mechanism, like lambda functions?
94142
Problem caused by patch 7.3.638: window->open does not update window
95143
correctly. Issue 91.
96144

145+
8 'backupdir' and 'directory' should use $TMPDIR, $TMP and/or $TEMP when
146+
defined.
147+
Issue 28.
148+
97149
Patch to fix that 'cedit' is recognized after :normal. (Christian Brabandt,
98150
2013 Mar 19, later message)
99151

@@ -108,6 +160,8 @@ carried over when using :global. (Christian Brabandt, 2013 Jun 19)
108160
Bug with 'cursorline' in diff mode. Line being scrolled into view gets
109161
highlighted as the cursor line. (Alessandro Ivaldi, 2013 Jun 4)
110162

163+
Two highlighting bugs. (Zyx, 2013 Aug 18)
164+
111165
Patch to add the bufferlist() function. (Yegappan Lakshmanan, 2013 May 5)
112166
May 17: with winlist() and tabpagelist().
113167
May 19: with local variables.
@@ -119,13 +173,18 @@ Patch to support 'u' in interactive substitute. (Christian Brabandt, 2012 Sep
119173
Patch from Christian Brabandt to make the "buffer" argument for ":sign place"
120174
optional. (2013 Jul 12)
121175

176+
Dialog is too big on Linux too. (David Fishburn, 2013 Sep 2)
177+
122178
Patch to allow setting w:quickfix_title via setqflist() and setloclist()
123179
functions. (Christian Brabandt, 2013 May 8, update May 21)
124180
Patch to add getlocstack() / setlocstack(). (Christian Brabandt, 2013 May 14)
125181
Second one. Update May 22.
126182

127183
Patch to make fold updates much faster. (Christian Brabandt, 2012 Dec)
128184

185+
TCL: With MSVC 2010 doesn't find Tcl_FindExecutable. (tux)
186+
Patch to define it. (Ken Takata, 2013 Aug 12) Is this right?
187+
129188
MS-Windows: Patch to make tests copy files to avoid changing the fileformat of
130189
the files under version control. (Taro Muraoka, 2013 Jul 5)
131190

@@ -167,8 +226,17 @@ Patch to make confirm() display colors. (Christian Brabandt, 2012 Nov 9)
167226

168227
Patch to add functions for signs. (Christian Brabandt, 2013 Jan 27)
169228

229+
Do we need some way (option) to show the sign column even when there are no
230+
signs? Patch by Christian Brabandt, 2013 Aug 22.
231+
232+
Patch to remove flicker from popup menu. (Yasuhiro Matsumoto, 2013 Aug 15)
233+
170234
Patch to use directX to draw text on Windows. Adds the 'renderoptions'
171235
option. (Taro Muraoka, 2013 Jan 25, update 2013 Apr 3, May 14)
236+
Fixes this problem:
237+
8 Win32: Multi-byte characters are not displayed, even though the same font
238+
in Notepad can display them. (Srinath Avadhanula) Try with the
239+
UTF-8-demo.txt page with Andale Mono.
172240

173241
Patch to add 'completeselect' option. Specifies how to select a candidate in
174242
insert completion. (Shougo, 2013 May 29)
@@ -272,6 +340,9 @@ Do give the prompt? Quit with an error?
272340

273341
Patch to list user digraphs. (Christian Brabandt, 2012 Apr 14)
274342

343+
Patch to add digraph() function. (Christian Brabandt, 2013 Aug 22, update Aug
344+
24)
345+
275346
Patch for input method status. (Hirohito Higashi, 2012 Apr 18)
276347

277348
Patch to use .png icons for the toolbar on MS-Windows. (Martin Gieseking, 2013
@@ -396,7 +467,7 @@ cleared. See test64.
396467
Changes to manpage plugin. (Elias Toivanen, 2011 Jul 25)
397468

398469
Patch to make "z=" work when 'spell' is off. Does this have nasty side
399-
effects? (Christian Brabandt, 2012 Aug 5)
470+
effects? (Christian Brabandt, 2012 Aug 5, Update 2013 Aug 12)
400471
Would also need to do this for spellbadword() and spellsuggest().
401472

402473
Patch for variable tabstops.
@@ -456,6 +527,9 @@ With a filler line in diff mode, it isn't displayed in the column with line
456527
number, but it is in the sign column. Doesn't look right. (ZyX 2011 Jun 5)
457528
Patch by Christian Brabandt, 2011 Jun 5. Introduces new problems.
458529

530+
Add jump() function. (Marcin Szamotulski, 2013 Aug 29)
531+
Is this needed? CTRL-O and CTRL-I do the same, just more difficult to use.
532+
459533
8 Add a command to jump to the next character highlighted with "Error".
460534
Patch by Christian Brabandt, uses ]e [e ]t and [t. 2011 Aug 9.
461535

@@ -573,8 +647,7 @@ setpos() does not restore cursor position after :normal. (Tyru, 2010 Aug 11)
573647

574648
getpos()/setpos() don't include curswant. getpos() could return a fifth
575649
element. setpos() could accept an optional fifth element.
576-
Patch by Christian Brabandt, 2010 Sep 6. Check that new argument is optional
577-
and that it's documented.
650+
Patch by Christian Brabandt, 2010 Sep 6. Again 2013 Aug 22.
578651

579652
With "tw=55 fo+=a" typing space before ) doesn't work well. (Scott Mcdermott,
580653
2010 Oct 24)
@@ -759,6 +832,7 @@ Setting 'tags' to "tagsdir/*" does not find "tagsdir/tags". (Steven K. Wong,
759832

760833
Patch to add farsi handling to arabic.c (Ali Gholami Rudi, 2009 May 2)
761834
Added test, updates, June 23.
835+
Updated for 7.4: http://litcave.rudi.ir/farsi_vim.diff
762836

763837
Patch to add "focusonly" to 'scrollopt', so that scrollbind also applies in
764838
window that doesn't have focus. (Jonathon Mah, 2009 Jan 12)
@@ -1685,7 +1759,7 @@ More patches:
16851759
- testdir/Make_dos_sh.mak for running tests with MingW. (Bill Mccarthy, 2008
16861760
Sep 13)
16871761
- Patch for adding "space" item in 'listchars'. (Jérémie Roquet, 2009 Oct 29,
1688-
Docs patch Oct 30)
1762+
Docs patch Oct 30, update David Burgin (glts) 2013 Aug 24)
16891763
- Replace ccomplete.vim by cppcomplete.vim from www.vim.org? script 1520 by
16901764
Vissale Neang. (Martin Stubenschrott) Asked Vissale to make the scripts
16911765
more friendly for the Vim distribution.
@@ -1887,9 +1961,6 @@ Win32 GUI known bugs:
18871961
8 Use another default for 'termencoding': the active codepage. Means that
18881962
when 'encoding' is changed typing characters still works properly.
18891963
Alternative: use the Unicode functions to obtain typed characters.
1890-
8 Win32: Multi-byte characters are not displayed, even though the same font
1891-
in Notepad can display them. (Srinath Avadhanula) Try with the
1892-
UTF-8-demo.txt page with Andale Mono.
18931964
7 The cursor color indicating IME mode doesn't work properly. (Shizhu Pan,
18941965
2004 May 9)
18951966
8 Win32: When clicking on the gvim title bar, which gives it focus, produces
@@ -2272,8 +2343,6 @@ Macintosh:
22722343
character. (Yasuhiro Matsumoto) It should return 1 when used on a tail
22732344
byte, like for utf-8. Store second byte of double-byte in ScreenLines2[]
22742345
(like for DBCS_JPNU) and put a zero in the second byte (like for UTF-8).
2275-
8 'backupdir' and 'directory' should use $TMPDIR, $TMP and/or $TEMP when
2276-
defined.
22772346
7 Inside a function with "perl <<EOF" a line with "$i++" is recognized as an
22782347
":insert" command, causing the following "endfunction" not to be found.
22792348
Add skipping this perl construction inside function definitions.

0 commit comments

Comments
 (0)