Skip to content

Commit a99ae26

Browse files
committed
Updated runtime files.
1 parent 1a79389 commit a99ae26

35 files changed

+453
-251
lines changed

runtime/autoload/ccomplete.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
" Vim completion script
22
" Language: C
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last Change: 2010 Mar 23
4+
" Last Change: 2011 Dec 30
55

6+
let s:cpo_save = &cpo
7+
set cpo&vim
68

79
" This function is used for the 'omnifunc' option.
810
function! ccomplete#Complete(findstart, base)
@@ -603,3 +605,6 @@ function! s:SearchMembers(matches, items, all)
603605
endfor
604606
return res
605607
endfunc
608+
609+
let &cpo = s:cpo_save
610+
unlet s:cpo_save

runtime/compiler/gcc.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ endif
99
let current_compiler = "gcc"
1010

1111
let s:cpo_save = &cpo
12-
set cpo-=C
12+
set cpo&vim
1313

1414
CompilerSet errorformat=
1515
\%*[^\"]\"%f\"%*\\D%l:%c:\ %m,

runtime/compiler/rst.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ endif
99
let current_compiler = "rst"
1010

1111
let s:cpo_save = &cpo
12-
set cpo-=C
12+
set cpo&vim
1313

1414
setlocal errorformat=
1515
\%f:%l:\ (%tEBUG/0)\ %m,

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 Dec 14
1+
*eval.txt* For Vim version 7.3. Last change: 2011 Dec 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3941,11 +3941,12 @@ line2byte({lnum}) *line2byte()*
39413941
Return the byte count from the start of the buffer for line
39423942
{lnum}. This includes the end-of-line character, depending on
39433943
the 'fileformat' option for the current buffer. The first
3944-
line returns 1.
3944+
line returns 1. 'encoding' matters, 'fileencoding' is ignored.
39453945
This can also be used to get the byte count for the line just
39463946
below the last line: >
39473947
line2byte(line("$") + 1)
3948-
< This is the file size plus one.
3948+
< This is the buffer size plus one. If 'fileencoding' is empty
3949+
it is the file size plus one.
39493950
When {lnum} is invalid, or the |+byte_offset| feature has been
39503951
disabled at compile time, -1 is returned.
39513952
Also see |byte2line()|, |go| and |:goto|.

runtime/doc/options.txt

Lines changed: 2 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 Dec 14
1+
*options.txt* For Vim version 7.3. Last change: 2011 Dec 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5059,7 +5059,7 @@ A jump table for the options with a short description can be found at |Q_op|.
50595059
respectively; see |CTRL-A| for more info on these commands.
50605060
alpha If included, single alphabetical characters will be
50615061
incremented or decremented. This is useful for a list with a
5062-
letter index a), b), etc. *octal-number*
5062+
letter index a), b), etc. *octal-nrformats*
50635063
octal If included, numbers that start with a zero will be considered
50645064
to be octal. Example: Using CTRL-A on "007" results in "010".
50655065
hex If included, numbers starting with "0x" or "0X" will be

runtime/doc/syntax.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 7.3. Last change: 2011 Nov 26
1+
*syntax.txt* For Vim version 7.3. Last change: 2011 Dec 30
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1603,11 +1603,6 @@ which are used for the statement itself, special characters used in debug
16031603
strings, strings, boolean constants and types (this, super) respectively. I
16041604
have opted to chose another background for those statements.
16051605

1606-
In order to help you write code that can be easily ported between Java and
1607-
C++, all C++ keywords can be marked as an error in a Java program. To
1608-
have this add this line in your .vimrc file: >
1609-
:let java_allow_cpp_keywords = 0
1610-
16111606
Javadoc is a program that takes special comments out of Java program files and
16121607
creates HTML pages. The standard configuration will highlight this HTML code
16131608
similarly to HTML files (see |html.vim|). You can even add Javascript
@@ -2775,7 +2770,9 @@ of specialized LaTeX commands, syntax, and fonts. If you're using such a
27752770
package you'll often wish that the distributed syntax/tex.vim would support
27762771
it. However, clearly this is impractical. So please consider using the
27772772
techniques in |mysyntaxfile-add| to extend or modify the highlighting provided
2778-
by syntax/tex.vim.
2773+
by syntax/tex.vim. Please consider uploading any extensions that you write,
2774+
which typically would go in $HOME/after/syntax/tex/[pkgname].vim, to
2775+
http://vim.sf.net/.
27792776

27802777
*tex-error*
27812778
Tex: Excessive Error Highlighting? ~

runtime/doc/todo.txt

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.3. Last change: 2011 Dec 14
1+
*todo.txt* For Vim version 7.3. Last change: 2011 Dec 30
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,14 +38,31 @@ Go through more coverity reports.
3838

3939
Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10)
4040

41+
Patch to fix crash with EXITFREE. (Dominique Pelle, 2011 Dec 20)
42+
4143
Patch to fix "Console prompts fail to reset the console pager".
4244
Issue 14 on googlecode
4345

4446
Issue 33 on googlecode: feedkeys() leaks memory.
4547

48+
Patch for Mac using NULL pointer. (Bjorn Winckler, 2011 Dec 18)
49+
4650
Patch to support UTF-8 for Hangul. (Shawn Y.H. Kim, 2011 May 1)
4751
Needs more work.
4852

53+
Issue 43: patch with new C keywords.
54+
55+
When setting 'undofile' while the file is already loaded, but unchanged, try
56+
to read the undo file. Requires computing a checksum of the text. (Andy
57+
Wokula)
58+
Patch from Christian Brabandt, 2011 Dec 22. Dec 24 with test.
59+
60+
Patch for Vim moving to another window when resizing. (Yukihiro Nakadaira,
61+
2011 Dec 18)
62+
63+
Compilation problem on z/OS, POUND is equal to '#', duplicate case.
64+
(Stephen Bovy, 2011 Dec 16)
65+
4966
Once syntax and other runtime files have been fixed: add "set cp" to
5067
check.vim. Use a function to run both with 'cp' and 'nocp'.
5168

@@ -82,6 +99,10 @@ Patch to highlight cursor line number. (Howard Buchholz (lhb), 2011 Oct 18)
8299

83100
Patch for urxvt mouse support after shell command. (Issue 31)
84101

102+
When exiting with unsaved changes, selecting an existing file in the file
103+
dialog, there is no dialog to ask whether the existing file should be
104+
overwritten. (Felipe G. Nievinski, 2011 Dec 22)
105+
85106
7 Setting an option always sets "w_set_curswant", while this is only
86107
required for a few options. Only do it for those options to avoid the
87108
side effect.
@@ -91,6 +112,8 @@ Patch for option in 'cino' to specify more indent for continued conditions.
91112
(Lech Lorens, 2011 Nov 27)
92113
Isn't this already possible?
93114

115+
Patch for using objcpp file type for headers files. Issue 44.
116+
94117
Docs fix for v:register. (Ingo Karkat, 2011 Sep 26, 27)
95118
v:register doesn't work exactly as expected. (David Fishburn, 2011 Sep 20)
96119

@@ -104,6 +127,9 @@ Patch for: (Christian Brabandt, 2011 Aug 24, updated patch)
104127

105128
Patch to add "onselected" callback for completion. (Taro Muraoka, 2011 Sep 24)
106129

130+
Use a count before "v" and "V" to select that many characters or lines?
131+
(Kikyous)
132+
107133
":tab drop buffer.c" always opens a new tab, also if buffer.c is already in an
108134
open window. (Herb Sitz, 2011 Nov 17)
109135

@@ -135,6 +161,8 @@ characters. Patch by Christian Brabandt, 2011 Oct 11)
135161
Patch for 'transparency' option. (Sergiu Dotenco, 2011 Sep 17)
136162
Only for MS-Windows. No documentation. Do we want this?
137163

164+
Patch to support cursor shape in Cygwin console. (Ben bgold, 2011 Dec 27)
165+
138166
'cursorline' is displayed too short when there are concealed characters and
139167
'list' is set. (Dennis Preiser)
140168
Patch 7.3.116 was the wrong solution.
@@ -472,10 +500,6 @@ Patch to support :undo absolute jump to file save number. (Christian Brabandt,
472500
Patch to use 'foldnextmax' also for "marker" foldmethod. (Arnaud Lacombe, 2011
473501
Jan 7)
474502

475-
When setting 'undofile' while the file is already loaded, but unchanged, try
476-
to read the undo file. Requires computing a checksum of the text. (Andy
477-
Wokula)
478-
479503
Bug with 'incsearch' going to wrong line. (Wolfram Kresse, 2009 Aug 17)
480504
Only with "vim -u NONE".
481505

@@ -1055,6 +1079,15 @@ Latest version: 2011 May 18
10551079
http://nsis.sourceforge.net/Docs/Chapter4.html#4.12
10561080
Version from Guopeng Wen that does this (2010 Dec 27)
10571081

1082+
Windows installer should install 32-bit version of right-click handler also on
1083+
64-bit systems. (Brian Cunningham, 2011 Dec 28)
1084+
1085+
Windows installer could add a "open in new tab of existing Vim" menu entry.
1086+
Gvimext: patch to add "Edit with single Vim &tabbed" menu entry.
1087+
Just have two choices, always using one Vim and selecting between using an
1088+
argument list or opening each file in a separate tab.
1089+
(Erik Falor, 2008 May 21, 2008 Jun 26)
1090+
10581091
Windows installer: licence text should not use indent, causes bad word wrap.
10591092
(Benjamin Fritz, 2010 Aug 16)
10601093

@@ -1215,12 +1248,6 @@ When unloading a buffer in a BufHidden autocommand the hidden flag is reset?
12151248
Substituting an area with a line break with almost the same area does change
12161249
the Visual area. Can this be fixed? (James Vega, 2006 Sept 15)
12171250

1218-
Windows installer could add a "open in new tab of existing Vim" menu entry.
1219-
Gvimext: patch to add "Edit with single Vim &tabbed" menu entry.
1220-
Just have two choices, always using one Vim and selecting between using an
1221-
argument list or opening each file in a separate tab.
1222-
(Erik Falor, 2008 May 21, 2008 Jun 26)
1223-
12241251
GUI: When combining fg en bg make sure they are not equal.
12251252

12261253
Spell checking: Add a way to specify punctuation characters. Add the

runtime/doc/usr_41.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_41.txt* For Vim version 7.3. Last change: 2011 Jun 19
1+
*usr_41.txt* For Vim version 7.3. Last change: 2011 Dec 15
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -670,6 +670,12 @@ Floating point computation: *float-functions*
670670
cosh() hyperbolic cosine
671671
tanh() hyperbolic tangent
672672

673+
Other computation: *bitwise-function*
674+
and() bitwise AND
675+
invert() bitwise invert
676+
or() bitwise OR
677+
xor() bitwise XOR
678+
673679
Variables: *var-functions*
674680
type() type of a variable
675681
islocked() check if a variable is locked

runtime/doc/various.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*various.txt* For Vim version 7.3. Last change: 2011 Nov 28
1+
*various.txt* For Vim version 7.3. Last change: 2011 Dec 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -136,6 +136,9 @@ g8 Print the hex values of the bytes used in the
136136
then twice the value of the 'scroll' option is used,
137137
otherwise the current window height minus 3 is used.
138138

139+
If there is a {count} the 'window' option is set to
140+
its value.
141+
139142
:z can be used either alone or followed by any of
140143
several punctuation marks. These have the following
141144
effect:

runtime/filetype.vim

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim support file to detect file types
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last Change: 2011 Oct 26
4+
" Last Change: 2011 Dec 28
55

66
" Listen very carefully, I will say this only once
77
if exists("did_load_filetypes")
@@ -2533,6 +2533,10 @@ au BufNewFile,BufRead */etc/yum.repos.d/* call s:StarSetf('dosini')
25332533
au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh')
25342534

25352535

2536+
" Plain text files, needs to be far down to not override others. This avoids
2537+
" the "conf" type being used if there is a line starting with '#'.
2538+
au BufNewFile,BufRead *.txt,*.text setf text
2539+
25362540

25372541
" Use the filetype detect plugins. They may overrule any of the previously
25382542
" detected filetypes.

0 commit comments

Comments
 (0)