Skip to content

Commit 1a0cc62

Browse files
committed
Merge branch 'vim'
Conflicts: src/auto/configure
2 parents 4b764c5 + fbd53ac commit 1a0cc62

Some content is hidden

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

96 files changed

+2028
-543
lines changed

.hgtags

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,3 +1688,40 @@ af76a61a7f79ccd3bcf64e15c73f2a3ea0eb77da v7-3-346
16881688
ff69efc4bc55d83b5f2bb68aeede1d921e8f1036 v7-3-351
16891689
ca65249eb34bc62e82d54f74e14271be7f7f8a44 v7-3-352
16901690
12bb368fef2c8c5478f0f8905aac381a56a75fe0 v7-3-353
1691+
6672b1645306ceab4348caaffec40990dc319b98 v7-3-354
1692+
d2f70593afeb432611cdb0ea2a0600c2869a20e0 v7-3-355
1693+
c349a670716ab5e5f01b8121f3b7f07560ce0b8a v7-3-356
1694+
e618700297e83c0d51efbb77a849ce5f0b19b507 v7-3-357
1695+
97a52300ef2b496b6c8e2487973f134d9e0afba8 v7-3-358
1696+
b7f0f23bf90603f83854fd1aece09fcc64876a29 v7-3-359
1697+
28480c9006e6e6936aae05de1f3ca3eaf4d2f267 v7-3-360
1698+
e42252611e74c1df2063955d6086f59fb3e3247d v7-3-361
1699+
074ddc768feadcb3164973c7f7be8bf78dbdd56e v7-3-362
1700+
c025592d7b1dd658955b9a6d2d159c04e83c31e0 v7-3-363
1701+
b0bbaf1020f08fa6dbeb059e251127e27fab9ecc v7-3-364
1702+
54ef99c39139cad53db24bcdc18470394d76b40f v7-3-365
1703+
436b42f3cba1896b65ad32e791d131a7c3978738 v7-3-366
1704+
972bd3fca5562b8752ae18313e8cb3e6fac207c5 v7-3-367
1705+
4e9c5338f44c24d511a989b5ea50850a2b9110b6 v7-3-368
1706+
0df9718c45b68c0aaa40934bb54b3217b0c24495 v7-3-369
1707+
3801e4811b0ecd56667fe89172ed37a84047307d v7-3-370
1708+
e757e1127d210632cc920d9a0d2d2a3b89be7ffe v7-3-371
1709+
6ff80dd02b51e9bd6d3c1b0167b81e295b0b4881 v7-3-372
1710+
a1d2f741d45c8731450db862e89eb4a650796fe9 v7-3-373
1711+
0a9d7cf90f94945578b83883e2ade369ecfbfc6d v7-3-374
1712+
767bb493e7d31273edc45f4cb6602784f639f516 v7-3-375
1713+
1d7434010de186b02fd6a5c8eef3e28108a4a251 v7-3-376
1714+
cd145cc2f2c918b9fd77dc177f69805c77e31e41 v7-3-377
1715+
a7517e84d9b8191092ff849e520558d61be01f71 v7-3-378
1716+
0f193ef0f4298ed632b5e9dc88c7efefe093728b v7-3-379
1717+
534b3ef1cf1440a9e22c2efc7f2673017024f124 v7-3-380
1718+
6cc788692b2e8e043a3d7fff4e1efa2601ad39c7 v7-3-381
1719+
2260435283f2ba0ac8d0b35e216b297605ef81db v7-3-382
1720+
f8d2ef4512f8d78c00a7aff24fb8f99aced6f2d6 v7-3-383
1721+
e958eeffa0a7d0ed2021f2f4b61ed9e5daf3d9a5 v7-3-384
1722+
910eb66c97684b3c0511789e7655dce2c7ba254a v7-3-385
1723+
1cedbee50ca65fc96eca2d360ddf886b3e7ad74f v7-3-386
1724+
ac16c62282ac0e961afa44b556fe850dd6c8e1aa v7-3-387
1725+
683fab13904c115b4e1f8b9ecb902d192501245d v7-3-388
1726+
c97c3272d7a67a2980ddc291f12f09c36568c54c v7-3-389
1727+
48252b5fd17042ae95c6736073ba3c5b12820f2c v7-3-390

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/autoload/phpcomplete.vim

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim completion script
22
" Language: PHP
33
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
4-
" Last Change: 2006 May 9
4+
" Last Change: 2011 Dec 08
55
"
66
" TODO:
77
" - Class aware completion:
@@ -650,6 +650,7 @@ function! phpcomplete#GetClassContents(file, name) " {{{
650650
" this is the most efficient way. The other way
651651
" is to go through the looong string looking for
652652
" matching {}
653+
let original_window = winnr()
653654
below 1new
654655
0put =cfile
655656
call search('class\s\+'.a:name)
@@ -667,6 +668,9 @@ function! phpcomplete#GetClassContents(file, name) " {{{
667668
let classcontent = join(classc, "\n")
668669

669670
bw! %
671+
" go back to where we started
672+
exe original_window.'wincmd w'
673+
670674
if extends_class != ''
671675
let classlocation = phpcomplete#GetClassLocation(extends_class)
672676
if filereadable(classlocation)

runtime/autoload/syntaxcomplete.vim

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
" Vim completion script
22
" Language: All languages, uses existing syntax highlighting rules
33
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
4-
" Version: 7.0
5-
" Last Change: 2010 Jul 29
4+
" Version: 8.0
5+
" Last Change: 2011 Nov 02
66
" Usage: For detailed help, ":help ft-syntax-omni"
77

88
" History
99
"
10+
" Version 8.0
11+
" Updated SyntaxCSyntaxGroupItems()
12+
" - Some additional syntax items were also allowed
13+
" on nextgroup= lines which were ignored by default.
14+
" Now these lines are processed independently.
15+
"
1016
" Version 7.0
1117
" Updated syntaxcomplete#OmniSyntaxList()
1218
" - Looking up the syntax groups defined from a syntax file
@@ -44,7 +50,7 @@ endif
4450
if exists('g:loaded_syntax_completion')
4551
finish
4652
endif
47-
let g:loaded_syntax_completion = 70
53+
let g:loaded_syntax_completion = 80
4854

4955
" Set ignorecase to the ftplugin standard
5056
" This is the default setting, but if you define a buffer local
@@ -72,7 +78,8 @@ endif
7278
" This script will build a completion list based on the syntax
7379
" elements defined by the files in $VIMRUNTIME/syntax.
7480
let s:syn_remove_words = 'match,matchgroup=,contains,'.
75-
\ 'links to,start=,end=,nextgroup='
81+
\ 'links to,start=,end='
82+
" \ 'links to,start=,end=,nextgroup='
7683

7784
let s:cache_name = []
7885
let s:cache_list = []
@@ -411,9 +418,25 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
411418
\ , "\n", 'g'
412419
\ )
413420

414-
" Now strip off the newline + blank space + contained
421+
" Now strip off the newline + blank space + contained.
422+
" Also include lines with nextgroup=@someName skip_key_words syntax_element
423+
let syn_list = substitute(
424+
\ syn_list, '\%(^\|\n\)\@<=\s*\<\(contained\|nextgroup=\)'
425+
\ , "", 'g'
426+
\ )
427+
428+
" This can leave lines like this
429+
" =@vimMenuList skipwhite onoremenu
430+
" Strip the special option keywords first
431+
" :h :syn-skipwhite*
432+
let syn_list = substitute(
433+
\ syn_list, '\<\(skipwhite\|skipnl\|skipempty\)\>'
434+
\ , "", 'g'
435+
\ )
436+
437+
" Now remove the remainder of the nextgroup=@someName lines
415438
let syn_list = substitute(
416-
\ syn_list, '\%(^\|\n\)\@<=\s*\<\(contained\)'
439+
\ syn_list, '\%(^\|\n\)\@<=\s*\(@\w\+\)'
417440
\ , "", 'g'
418441
\ )
419442

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/autocmd.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 7.3. Last change: 2011 Aug 29
1+
*autocmd.txt* For Vim version 7.3. Last change: 2011 Oct 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1061,8 +1061,8 @@ option will not cause any commands to be executed.
10611061
It's possible to use this inside an autocommand too,
10621062
so you can base the autocommands for one extension on
10631063
another extension. Example: >
1064-
:au Bufenter *.cpp so ~/.vimrc_cpp
1065-
:au Bufenter *.cpp doau BufEnter x.c
1064+
:au BufEnter *.cpp so ~/.vimrc_cpp
1065+
:au BufEnter *.cpp doau BufEnter x.c
10661066
< Be careful to avoid endless loops. See
10671067
|autocmd-nested|.
10681068

runtime/doc/change.txt

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

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -71,7 +71,7 @@ For inserting text see |insert.txt|.
7171
"D" deletes the highlighted text plus all text until
7272
the end of the line. {not in Vi}
7373

74-
*:d* *:de* *:del* *:delete*
74+
*:d* *:de* *:del* *:delete* *:dl*
7575
:[range]d[elete] [x] Delete [range] lines (default: current line) [into
7676
register x].
7777

0 commit comments

Comments
 (0)