Skip to content

Commit 3577c6f

Browse files
committed
updated for version 7.2a
1 parent a7241f5 commit 3577c6f

123 files changed

Lines changed: 39117 additions & 1365 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

runtime/autoload/getscript.vim

Lines changed: 346 additions & 273 deletions
Large diffs are not rendered by default.

runtime/autoload/syntaxcomplete.vim

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
" Vim completion script
22
" Language: All languages, uses existing syntax highlighting rules
3-
" Maintainer: David Fishburn <fishburn@ianywhere.com>
4-
" Version: 3.0
5-
" Last Change: Wed Nov 08 2006 10:46:46 AM
3+
" Maintainer: David Fishburn <dfishburn.vim@gmail.com>
4+
" Version: 4.0
5+
" Last Change: Fri 26 Oct 2007 05:27:03 PM Eastern Daylight Time
66
" Usage: For detailed help, ":help ft-syntax-omni"
77

88
" Set completion with CTRL-X CTRL-O to autoloaded function.
@@ -19,7 +19,7 @@ endif
1919
if exists('g:loaded_syntax_completion')
2020
finish
2121
endif
22-
let g:loaded_syntax_completion = 30
22+
let g:loaded_syntax_completion = 40
2323

2424
" Set ignorecase to the ftplugin standard
2525
" This is the default setting, but if you define a buffer local
@@ -353,9 +353,11 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
353353
else
354354
let accept_chars = ','.&iskeyword.','
355355
" Remove all character ranges
356-
let accept_chars = substitute(accept_chars, ',[^,]\+-[^,]\+,', ',', 'g')
356+
" let accept_chars = substitute(accept_chars, ',[^,]\+-[^,]\+,', ',', 'g')
357+
let accept_chars = substitute(accept_chars, ',\@<=[^,]\+-[^,]\+,', '', 'g')
357358
" Remove all numeric specifications
358-
let accept_chars = substitute(accept_chars, ',\d\{-},', ',', 'g')
359+
" let accept_chars = substitute(accept_chars, ',\d\{-},', ',', 'g')
360+
let accept_chars = substitute(accept_chars, ',\@<=\d\{-},', '', 'g')
359361
" Remove all commas
360362
let accept_chars = substitute(accept_chars, ',', '', 'g')
361363
" Escape special regex characters

runtime/autoload/xmlcomplete.vim

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
" Vim completion script
22
" Language: XML
33
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
4-
" Last Change: 2006 Jul 18
5-
" Version: 1.8
4+
" Last Change: 2006 Aug 15
5+
" Version: 1.9
66
"
77
" Changelog:
8+
" 1.9 - 2007 Aug 15
9+
" - fix closing of namespaced tags (Johannes Weiss)
810
" 1.8 - 2006 Jul 18
911
" - allow for closing of xml tags even when data file isn't available
1012

@@ -413,12 +415,12 @@ function! xmlcomplete#GetLastOpenTag(unaryTagsStack)
413415

414416
if exists("b:xml_namespace")
415417
if b:xml_namespace == 'DEFAULT'
416-
let tagpat='</\=\(\k\|[.-]\)\+\|/>'
418+
let tagpat='</\=\(\k\|[.:-]\)\+\|/>'
417419
else
418420
let tagpat='</\='.b:xml_namespace.':\(\k\|[.-]\)\+\|/>'
419421
endif
420422
else
421-
let tagpat='</\=\(\k\|[.-]\)\+\|/>'
423+
let tagpat='</\=\(\k\|[.:-]\)\+\|/>'
422424
endif
423425
while (linenum>0)
424426
let line=getline(linenum)

runtime/compiler/ruby.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ CompilerSet errorformat=
6565
let &cpo = s:cpo_save
6666
unlet s:cpo_save
6767

68-
" vim: nowrap sw=2 sts=2 ts=8 ff=unix:
68+
" vim: nowrap sw=2 sts=2 ts=8:

runtime/doc/cmdline.txt

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 7.1. Last change: 2008 Jan 04
1+
*cmdline.txt* For Vim version 7.2a. Last change: 2008 Jun 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -62,7 +62,7 @@ Notes:
6262
old one is removed (to avoid repeated commands moving older commands out of
6363
the history).
6464
- Only commands that are typed are remembered. Ones that completely come from
65-
mappings are not put in the history
65+
mappings are not put in the history.
6666
- All searches are put in the search history, including the ones that come
6767
from commands like "*" and "#". But for a mapping, only the last search is
6868
remembered (to avoid that long mappings trash the history).
@@ -226,6 +226,8 @@ CTRL-J *c_CTRL-J* *c_<NL>* *c_<CR>*
226226
<Esc> When typed and 'x' not present in 'cpoptions', quit
227227
Command-line mode without executing. In macros or when 'x'
228228
present in 'cpoptions', start entered command.
229+
Note: If your <Esc> key is hard to hit on your keyboard, train
230+
yourself to use CTRL-[.
229231
*c_CTRL-C*
230232
CTRL-C quit command-line without executing
231233

@@ -482,7 +484,7 @@ argument.
482484
line. If you want to use '|' in an argument, precede it with '\'.
483485

484486
These commands see the '|' as their argument, and can therefore not be
485-
followed by another command:
487+
followed by another Vim command:
486488
:argdo
487489
:autocmd
488490
:bufdo
@@ -718,6 +720,9 @@ to insert special things while typing you can use the CTRL-R command. For
718720
example, "%" stands for the current file name, while CTRL-R % inserts the
719721
current file name right away. See |c_CTRL-R|.
720722

723+
Note: If you want to avoid the special characters in a Vim script you may want
724+
to use |fnameescape()|.
725+
721726

722727
In Ex commands, at places where a file name can be used, the following
723728
characters have a special meaning. These can also be used in the expression
@@ -893,10 +898,10 @@ Examples: (alternate file name is "?readme?")
893898
:cd <cfile>* :cd {file name under cursor plus "*" and then expanded}
894899

895900
When the expanded argument contains a "!" and it is used for a shell command
896-
(":!cmd", ":r !cmd" or ":w !cmd"), it is escaped with a backslash to avoid it
897-
being expanded into a previously used command. When the 'shell' option
898-
contains "sh", this is done twice, to avoid the shell trying to expand the
899-
"!".
901+
(":!cmd", ":r !cmd" or ":w !cmd"), the "!" is escaped with a backslash to
902+
avoid it being expanded into a previously used command. When the 'shell'
903+
option contains "sh", this is done twice, to avoid the shell trying to expand
904+
the "!".
900905

901906
*filename-backslash*
902907
For filesystems that use a backslash as directory separator (MS-DOS, Windows,

runtime/doc/debugger.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*debugger.txt* For Vim version 7.1. Last change: 2005 Mar 29
1+
*debugger.txt* For Vim version 7.2a. Last change: 2005 Mar 29
22

33

44
VIM REFERENCE MANUAL by Gordon Prieur

runtime/doc/develop.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*develop.txt* For Vim version 7.1. Last change: 2007 May 11
1+
*develop.txt* For Vim version 7.2a. Last change: 2007 May 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/digraph.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*digraph.txt* For Vim version 7.1. Last change: 2006 Jul 18
1+
*digraph.txt* For Vim version 7.2a. Last change: 2007 Sep 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -130,10 +130,10 @@ a standard meaning:
130130
Exclamation mark ! Grave
131131
Apostrophe ' Acute accent
132132
Greater-Than sign > Circumflex accent
133-
Question Mark ? tilde
133+
Question mark ? Tilde
134134
Hyphen-Minus - Macron
135135
Left parenthesis ( Breve
136-
Full Stop . Dot Above
136+
Full stop . Dot above
137137
Colon : Diaeresis
138138
Comma , Cedilla
139139
Underline _ Underline

runtime/doc/editing.txt

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 7.1. Last change: 2007 May 11
1+
*editing.txt* For Vim version 7.2a. Last change: 2008 Apr 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -364,6 +364,9 @@ all over again. The ":e" command is only useful if you have changed the
364364
current file name.
365365

366366
*:filename* *{file}*
367+
Besides the things mentioned here, more special items for where a filename is
368+
expected are mentioned at |cmdline-special|.
369+
367370
Note for systems other than Unix and MS-DOS: When using a command that
368371
accepts a single file name (like ":edit file") spaces in the file name are
369372
allowed, but trailing spaces are ignored. This is useful on systems that
@@ -888,8 +891,10 @@ Note: When the 'write' option is off, you are not able to write any file.
888891
the previous command |:!|.
889892

890893
The default [range] for the ":w" command is the whole buffer (1,$). If you
891-
write the whole buffer, it is no longer considered changed. Also when you
892-
write it to a different file with ":w somefile"!
894+
write the whole buffer, it is no longer considered changed. When you
895+
write it to a different file with ":w somefile" it depends on the "+" flag in
896+
'cpoptions'. When included, the write command will reset the 'modified' flag,
897+
even though the buffer itself may still be different from its file.
893898

894899
If a file name is given with ":w" it becomes the alternate file. This can be
895900
used, for example, when the write fails and you want to try again later with
@@ -1105,6 +1110,8 @@ MULTIPLE WINDOWS AND BUFFERS *window-exit*
11051110
changed. See |:confirm|. {not in Vi}
11061111

11071112
:qa[ll]! Exit Vim. Any changes to buffers are lost. {not in Vi}
1113+
Also see |:cquit|, it does the same but exits with a non-zero
1114+
value.
11081115

11091116
*:quita* *:quitall*
11101117
:quita[ll][!] Same as ":qall". {not in Vi}
@@ -1478,7 +1485,9 @@ There are three different types of searching:
14781485
supported by your operating system. '*' and '**' are handled inside Vim, so
14791486
they work on all operating systems.
14801487

1481-
The usage of '*' is quite simple: It matches 0 or more characters.
1488+
The usage of '*' is quite simple: It matches 0 or more characters. In a
1489+
search pattern this would be ".*". Note that the "." is not used for file
1490+
searching.
14821491

14831492
'**' is more sophisticated:
14841493
- It ONLY matches directories.
@@ -1498,7 +1507,7 @@ There are three different types of searching:
14981507
levels.
14991508
The allowed number range is 0 ('**0' is removed) to 255.
15001509
If the given number is smaller than 0 it defaults to 30, if it's
1501-
bigger than 255 it defaults to 255.
1510+
bigger than 255 then 255 is used.
15021511
- '**' can only be at the end of the path or be followed by a path
15031512
separator or by a number and a path separator.
15041513

runtime/doc/gui_w16.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_w16.txt* For Vim version 7.1. Last change: 2005 Mar 29
1+
*gui_w16.txt* For Vim version 7.2a. Last change: 2005 Mar 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

0 commit comments

Comments
 (0)