Skip to content

Commit 193f1cf

Browse files
committed
Merge branch 'vim' of git://github.com/b4winckler/macvim into kaoriya
2 parents c843b9a + e967a23 commit 193f1cf

37 files changed

+1005
-246
lines changed

.hgtags

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,3 +1595,9 @@ fe6ad3fd85322b394824a5c495a78061a747b074 v7-3-251
15951595
0b4289bcf8364854dd5f94c42d0252504103e5b9 v7-3-252
15961596
c21429d7768cd4b834a086dd47881d01bca74e8c v7-3-253
15971597
1eb805225de7750c03af7b0f7ac2f5dd18d032be v7-3-254
1598+
aa998de9f9592426c17396b60c5db9170a234024 v7-3-255
1599+
c296c225736e4489706c62c95752a0c4788be1d3 v7-3-256
1600+
1fad9c73d77a0030586704cccab1b1a7aba8b58b v7-3-257
1601+
bdc3335bd72eea207b28fcf8af90a73c855c8847 v7-3-258
1602+
59130cd78dfc73bd04f22d201b8f7c0772d98e79 v7-3-259
1603+
cb4682b959098e486977eb4b5969c9eb07d2798e v7-3-260

runtime/doc/eval.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.3. Last change: 2011 Jun 19
1+
*eval.txt* For Vim version 7.3. Last change: 2011 Jul 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2277,7 +2277,8 @@ char2nr({expr}) *char2nr()*
22772277
< The current 'encoding' is used. Example for "utf-8": >
22782278
char2nr("á") returns 225
22792279
char2nr("á"[0]) returns 195
2280-
< |nr2char()| does the opposite.
2280+
< A combining character is a separate character.
2281+
|nr2char()| does the opposite.
22812282

22822283
cindent({lnum}) *cindent()*
22832284
Get the amount of indent for line {lnum} according the C
@@ -5968,7 +5969,7 @@ virtcol({expr}) *virtcol()*
59685969
When 'virtualedit' is used {expr} can be [lnum, col, off], where
59695970
"off" is the offset in screen columns from the start of the
59705971
character. E.g., a position within a <Tab> or after the last
5971-
character.
5972+
character. When "off" is omitted zero is used.
59725973
When Virtual editing is active in the current mode, a position
59735974
beyond the end of the line can be returned. |'virtualedit'|
59745975
The accepted positions are:

runtime/doc/indent.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*indent.txt* For Vim version 7.3. Last change: 2011 May 31
1+
*indent.txt* For Vim version 7.3. Last change: 2011 Jul 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -486,9 +486,10 @@ The examples below assume a 'shiftwidth' of 4.
486486
) )
487487
<
488488
*java-cinoptions* *java-indenting* *cino-j*
489-
jN Indent java anonymous classes correctly. The value 'N' is
490-
currently unused but must be non-zero (e.g. 'j1'). 'j1' will
491-
indent for example the following code snippet correctly: >
489+
jN Indent Java anonymous classes correctly. Also works well for
490+
Javascript. The value 'N' is currently unused but must be
491+
non-zero (e.g. 'j1'). 'j1' will indent for example the
492+
following code snippet correctly: >
492493
493494
object.add(new ChangeListener() {
494495
public void stateChanged(ChangeEvent e) {
@@ -499,7 +500,8 @@ The examples below assume a 'shiftwidth' of 4.
499500
*javascript-cinoptions* *javascript-indenting* *cino-J*
500501
JN Indent JavaScript object declarations correctly by not confusing
501502
them with labels. The value 'N' is currently unused but must be
502-
non-zero (e.g. 'J1'). >
503+
non-zero (e.g. 'J1'). If you enable this you probably also want
504+
to set |cino-j|. >
503505
504506
var bar = {
505507
foo: {

runtime/doc/map.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,17 +1211,21 @@ completion can be enabled:
12111211

12121212
-complete=augroup autocmd groups
12131213
-complete=buffer buffer names
1214+
-complete=color color schemes
12141215
-complete=command Ex command (and arguments)
1216+
-complete=compiler compilers
12151217
-complete=cscope |:cscope| suboptions
12161218
-complete=dir directory names
12171219
-complete=environment environment variable names
12181220
-complete=event autocommand events
12191221
-complete=expression Vim expression
12201222
-complete=file file and directory names
1223+
-complete=file_in_path file and directory names in |'path'|
12211224
-complete=filetype filetype names |'filetype'|
12221225
-complete=function function name
12231226
-complete=help help subjects
12241227
-complete=highlight highlight groups
1228+
-complete=locale locale names (as output of locale -a)
12251229
-complete=mapping mapping name
12261230
-complete=menu menus
12271231
-complete=option options

runtime/doc/mbyte.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*mbyte.txt* For Vim version 7.3. Last change: 2011 Feb 01
1+
*mbyte.txt* For Vim version 7.3. Last change: 2011 Jul 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar et al.
@@ -1306,8 +1306,8 @@ character. However, search patterns may not match on an overlong sequence.
13061306
character.) An exception is NUL (zero) which is displayed as "<00>".
13071307

13081308
In the file and buffer the full range of Unicode characters can be used (31
1309-
bits). However, displaying only works for 16 bit characters, and only for the
1310-
characters present in the selected font.
1309+
bits). However, displaying only works for the characters present in the
1310+
selected font.
13111311

13121312
Useful commands:
13131313
- "ga" shows the decimal, hexadecimal and octal value of the character under

runtime/doc/options.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 7.3. Last change: 2011 Jun 12
1+
*options.txt* For Vim version 7.3. Last change: 2011 Jul 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6012,7 +6012,8 @@ A jump table for the options with a short description can be found at |Q_op|.
60126012
{not in Vi}
60136013
When on, use temp files for shell commands. When off use a pipe.
60146014
When using a pipe is not possible temp files are used anyway.
6015-
Currently a pipe is only supported on Unix. You can check it with: >
6015+
Currently a pipe is only supported on Unix and MS-Windows 2K and
6016+
later. You can check it with: >
60166017
:if has("filterpipe")
60176018
< The advantage of using a pipe is that nobody can read the temp file
60186019
and the 'shell' command does not need to support redirection.

runtime/doc/pattern.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,11 +1036,9 @@ x A single character, with no special meaning, matches itself
10361036
These items only work for 8-bit characters.
10371037
*/[[=* *[==]*
10381038
- An equivalence class. This means that characters are matched that
1039-
have almost the same meaning, e.g., when ignoring accents. The form
1040-
is:
1039+
have almost the same meaning, e.g., when ignoring accents. This
1040+
only works for Unicode, latin1 and latin9. The form is:
10411041
[=a=]
1042-
Currently this is only implemented for latin1. Also works for the
1043-
latin1 characters in utf-8 and latin9.
10441042
*/[[.* *[..]*
10451043
- A collation element. This currently simply accepts a single
10461044
character in the form:

runtime/doc/syntax.txt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 7.3. Last change: 2011 May 06
1+
*syntax.txt* For Vim version 7.3. Last change: 2011 Jul 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -866,13 +866,13 @@ used.
866866
Detecting whether a file is csh or tcsh is notoriously hard. Some systems
867867
symlink /bin/csh to /bin/tcsh, making it almost impossible to distinguish
868868
between csh and tcsh. In case VIM guesses wrong you can set the
869-
"filetype_csh" variable. For using csh: >
870-
871-
:let filetype_csh = "csh"
869+
"filetype_csh" variable. For using csh: *g:filetype_csh*
870+
>
871+
:let g:filetype_csh = "csh"
872872
873873
For using tcsh: >
874874
875-
:let filetype_csh = "tcsh"
875+
:let g:filetype_csh = "tcsh"
876876
877877
Any script with a tcsh extension or a standard tcsh filename (.tcshrc,
878878
tcsh.tcshrc, tcsh.login) will have filetype tcsh. All other tcsh/csh scripts
@@ -2372,6 +2372,12 @@ This will make the syntax synchronization start 50 lines before the first
23722372
displayed line. The default value is 10. The disadvantage of using a larger
23732373
number is that redrawing can become slow.
23742374

2375+
Vim tries to guess what type a ".r" file is. If it can't be detected (from
2376+
comment lines), the default is "r". To make the default rexx add this line to
2377+
your .vimrc: *g:filetype_r*
2378+
>
2379+
:let g:filetype_r = "r"
2380+
23752381
23762382
RUBY *ruby.vim* *ft-ruby-syntax*
23772383

runtime/doc/tags

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5096,6 +5096,7 @@ cpo-+ options.txt /*cpo-+*
50965096
cpo-- options.txt /*cpo--*
50975097
cpo-. options.txt /*cpo-.*
50985098
cpo-/ options.txt /*cpo-\/*
5099+
cpo-; options.txt /*cpo-;*
50995100
cpo-< options.txt /*cpo-<*
51005101
cpo-> options.txt /*cpo->*
51015102
cpo-A options.txt /*cpo-A*
@@ -5784,6 +5785,8 @@ g:decada.Error_Format ft_ada.txt /*g:decada.Error_Format*
57845785
g:decada.Make() ft_ada.txt /*g:decada.Make()*
57855786
g:decada.Make_Command ft_ada.txt /*g:decada.Make_Command*
57865787
g:decada.Unit_Name() ft_ada.txt /*g:decada.Unit_Name()*
5788+
g:filetype_csh syntax.txt /*g:filetype_csh*
5789+
g:filetype_r syntax.txt /*g:filetype_r*
57875790
g:gnat ft_ada.txt /*g:gnat*
57885791
g:gnat.Error_Format ft_ada.txt /*g:gnat.Error_Format*
57895792
g:gnat.Find() ft_ada.txt /*g:gnat.Find()*

runtime/doc/todo.txt

Lines changed: 25 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.3. Last change: 2011 Jun 19
1+
*todo.txt* For Vim version 7.3. Last change: 2011 Jul 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -40,52 +40,11 @@ Crash in autocomplete, valgrind log. (Greg Weber, 2011 Apr 22)
4040

4141
Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10)
4242

43-
Patch to fix gj with count. (James Vega, 2011 Jun 13)
44-
45-
Patch to disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka, 2010
46-
Nov 25)
47-
48-
7 Output for ":scriptnames" and ":breaklist" should shorten the file names:
49-
use "~/" when possible.
50-
Patch by Jean-Rene David, 2011 May 1.
51-
52-
Cindent wrong after patch 7.3.202. (Lech Lorens, issue 9)
53-
54-
Patch for cindent fix with closing brace placement, including tests.
55-
(Lech Lorens, issue 10, 2011 Jun 12)
56-
57-
Patch for better #if 0 syntax highlighting for C code. (Ben Schmidt, 2011 Jan
58-
20)
59-
Change to C syntax folding to make it work much faster, but a bit less
60-
reliable. (Lech Lorens, 2009 Nov 9) Enable with an option?
61-
Most time is spent in in_id_list().
62-
Updated to merge both patches. (Ben Schmidt, 2011 May 2)
63-
64-
GTK: Patch to fix menu popping down. (Hong Xu, 2010 Dec 4, Dec 5)
65-
Update 2011 Feb 3.
66-
67-
Patch to use pipes on Win32. (Vincent Berthoux, 2011 Feb 28)
68-
Update Mar 1 using 'shelltemp'.
69-
70-
Patch to fix CTRL-R CTRL-W in the command line when the cursor is not at the
71-
end. (Tyru, 2011 Jun 6)
72-
7343
Patch to support UTF-8 for Hangul. (Shawn Y.H. Kim, 2011 May 1)
7444
Needs more work.
7545

76-
Patch to make ";" not get stuck on "t" command. (Christian Brabandt, 2011 May
77-
23)
78-
79-
Patch to do more testing of Javascript indenting. Some items are srong.
80-
(Luc Deschenaux, 2011 Jun 14)
81-
82-
"gh<Del>" deletes the current line, except when it's the last line.
83-
Hint by Christian Brabandt, 2011 Mar 22
84-
85-
"echo 'abc' > ''" returns 0 or 1, depending on 'ignorecase'.
86-
mb_strnicmp() checks for illegal and truncated bytes are wrong.
87-
Should also not assume that byte length is equal before case folding.
88-
Patch by Ivan Krasilnikov, 2011 May 27.
46+
With "unamedplus" in 'clipboard' pasting in Visual mode causes error for empty
47+
register. (Michael Seiwald, 2011 Jun 28)
8948

9049
The :z command doesn't work exactly as it should. (ChangZhuo Chen, 2011 Mar 2)
9150
Compare with how old Vi works and with posix spec. terminal is 80 x 24,
@@ -94,6 +53,7 @@ Compare with how old Vi works and with posix spec. terminal is 80 x 24,
9453
'cursorline' is displayed too short when there are concealed characters and
9554
'list' is set. (Dennis Preiser)
9655
Patch 7.3.116 was the wrong solution.
56+
Christian Brabandt has another incomplete patch. (2011 Jul 13)
9757

9858
With concealed text mouse click doesn't put the cursor in the right position.
9959
(Herb Sitz) Fix by Christian Brabandt, 2011 Jun 16. Doesn't work properly,
@@ -119,8 +79,13 @@ Bug in repeating Visual "u". (Lawrence Kesteloot, 2010 Dec 20)
11979
Patch to automatically get version number into NSIS. (Guopeng Wen, 2011 May
12080
27)
12181

82+
Patch to add more command completions (Dominique Pelle, 2011 Jun 25)
83+
84+
Patch to have GvimExt not use "edit with existing Vim" entries.
85+
(Jerome Vuarand, 2011 Jun 22)
86+
12287
Patch to make character classes work with multi-byte characters.
123-
(Dominique Pelle, 2011 May 31)
88+
(Dominique Pelle, 2011 May 31, update July 11)
12489

12590
In GTK Gvim, setting 'lines' and 'columns' to 99999 causes a crash (Tony
12691
Mechelynck, 2011 Apr 25). Can reproduce the crash sometimes:
@@ -143,6 +108,9 @@ Need for CursorHold that retriggers. Use a key that doesn't do anything, or a
143108
function that resets did_cursorhold.
144109
Patch by Christian Brabandt, 2011 May 6.
145110

111+
popup completion menu closes quickly when there is a fold in the buffer. (Jan
112+
Christoph Ebersbach, 2011 Jul 3)
113+
146114
CursorHold repeats typed key when it's the start of a mapping.
147115
(Will Gray, 2011 Mar 23)
148116
Christian Brabandt: problem is that OP_PENDING isn't set.
@@ -192,6 +160,10 @@ Bug in try/catch: return with invalid compare throws error that isn't caught.
192160
Highlighting stops working after changing it many times. Script to reproduce
193161
it: Pablo Contreras, 2010 Oct 12 Windows XP and 7. Font is never freed?
194162

163+
When setting a local option value from the global value, add a script ID that
164+
indicates this, so that ":verbose set" can give a hint. Check with options in
165+
the help file.
166+
195167
After patch 7.3.097 still get E15. (Yukihiro Nakadaira, 2011 Jan 18)
196168
Also for another example (ZyX, 2011 Jan 24)
197169

@@ -251,6 +223,9 @@ New esperanto spell file can't be processed. (Dominique Pelle, 2011 Jan 30)
251223
"L'Italie" noted as a spell error at start of the sentence. (Dominique Pelle,
252224
2011 Feb 27)
253225

226+
Patch to fail if configure can't find an interface, such as Python.
227+
(Shlomi Fish, 2011 Jul 11)
228+
254229
Copy/paste between Vim and Google chrome doesn't work well for multi-byte
255230
characters. (Ben Haskell, 2010 Sep 17)
256231
When putting text in the cut buffer (when exiting) and conversion doesn't work
@@ -341,7 +316,7 @@ When writing a file > 2Gbyte, the reported number of bytes is negative.
341316
(Antonio Colombo, 2010 Dec 18)
342317

343318
Patch: Let rare word highlighting overrule good word highlighting.
344-
(Jakson A. Aquino, 2010 Jul 30)
319+
(Jakson A. Aquino, 2010 Jul 30, again 2011 Jul 2)
345320

346321
Patch to make more characters work in dialogs. (Yankwei Jia, 2010 Aug 4)
347322

@@ -429,6 +404,9 @@ characters. (2010 Aug 14, bootleq)
429404

430405
Problem with stop directory in findfile(). (Adam Simpkins, 2009 Aug 26)
431406

407+
Using ']' as the end of a range in a pattern requires double escaping:
408+
/[@-\\]] (Andy Wokula, 2011 Jun 28)
409+
432410
Undo problem: line not removed as expected when using setline() from Insert
433411
mode. (Israel Chauca, 2010 May 13, more in second msg)
434412
Break undo when CTRL-R = changes the text? Or save more lines?
@@ -1525,6 +1503,7 @@ Awaiting updated patches:
15251503
- Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav
15261504
Smilauer, 2004 Sep 13, fix Oct 31, update 2007 May 30)
15271505
Version for latest MacVim: Tobia Conforto, 2009 Nov 23
1506+
More recent version: https://retracile.net/wiki/VimBreakIndent
15281507
8 Add a few more command names to the menus. Patch from Jiri Brezina
15291508
(28 feb 2002). Will mess the translations...
15301509
7 ATTENTION dialog choices are more logical when "Delete it' appears

0 commit comments

Comments
 (0)