Skip to content

Commit 10dd144

Browse files
committed
Merge remote-tracking branch 'vim/master' into kaoriya-7-3-515
Conflicts: src/feature.h
2 parents a73a38c + b857e2d commit 10dd144

File tree

126 files changed

+1004
-274
lines changed

Some content is hidden

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

126 files changed

+1004
-274
lines changed

.hgtags

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,3 +1839,22 @@ bf5960ec253293b7240f59a7682f2e862dacd205 v7-3-493
18391839
5240610f277823478983e3f04abfbed4e85141cf v7-3-494
18401840
27f6a22ff88eea07f24163fe470b7335f3c1b32b v7-3-495
18411841
3daba355b0c15ef66a9d2810ae7c7cc534dccf62 v7-3-496
1842+
e34c620007be9fd805556c43fe848de521f3b64c v7-3-497
1843+
b1a42d2522fb4ff627a0c381e994e2a598f7bbbb v7-3-498
1844+
4a2cb025b6417b00f2ced076eb79739e03acd7d4 v7-3-499
1845+
b36640b2f671c006fe26b573fd42347227efbfa8 v7-3-500
1846+
d7b335626ddc7a61667cb3e23ecadfe399b676fb v7-3-501
1847+
1d1cce57421c78884cff2d3234d3759bc858d6fb v7-3-502
1848+
65d036fd449e488303e78d2c6679a736551c39a6 v7-3-503
1849+
17bfcb054cb770ac685acaa349165f210bdd36ca v7-3-504
1850+
fe7bf24804e195209bef4cd008f0bac7eec7fc60 v7-3-505
1851+
982f84487daf102f1203977a09f2c6c76d1ed3d5 v7-3-506
1852+
f9a865d97614940f817b76642282d966781296e5 v7-3-507
1853+
2722f11ddc998ac7c578c68c0248b58468179418 v7-3-508
1854+
8101253704f6504bed3f0209e9a6fcae3966c6e7 v7-3-509
1855+
53786601213cd9f86db8714f7b0e077b05e2704f v7-3-510
1856+
b782e2f9e6892116ae5d068249b5198bbe0042c6 v7-3-511
1857+
454646820185cbe13e1f2e4f7533b984d3b07b18 v7-3-512
1858+
75037f9bc97ad76bca58dbbc0ddac69cc7f5d9ac v7-3-513
1859+
7e4428115d2cea86fcfa980097c98c11380ae196 v7-3-514
1860+
6c318419e3310fb9658ee6ead6b4ea33def8cb6d v7-3-515

runtime/autoload/ada.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
if version < 700
3030
finish
3131
endif
32+
let s:keepcpo= &cpo
33+
set cpo&vim
3234

3335
" Section: Constants {{{1
3436
"
@@ -619,6 +621,9 @@ lockvar g:ada#Comment
619621
lockvar! g:ada#Keywords
620622
lockvar! g:ada#Ctags_Kinds
621623

624+
let &cpo = s:keepcpo
625+
unlet s:keepcpo
626+
622627
finish " 1}}}
623628

624629
"------------------------------------------------------------------------------

runtime/compiler/cs.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
" Compiler: Microsoft Visual Studio C#
33
" Maintainer: Zhou YiChao ([email protected])
44
" Previous Maintainer: Joseph H. Yao ([email protected])
5-
" Last Change: 2011 Apr 21
5+
" Last Change: 2012 Apr 30
66

77
if exists("current_compiler")
88
finish
99
endif
1010
let current_compiler = "cs"
11+
let s:keepcpo= &cpo
12+
set cpo&vim
1113

1214
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
1315
command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
1921
\%tarning%*[^:]:\ %m
2022

2123
CompilerSet makeprg=csc\ %
24+
25+
let &cpo = s:keepcpo
26+
unlet s:keepcpo

runtime/compiler/decada.vim

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
" Help Page: compiler-decada
1616
"------------------------------------------------------------------------------
1717

18-
if (exists("current_compiler") &&
19-
\ current_compiler == "decada") ||
20-
\ version < 700
18+
if (exists("current_compiler") && current_compiler == "decada") || version < 700
2119
finish
2220
endif
21+
let s:keepcpo= &cpo
22+
set cpo&vim
2323

2424
let current_compiler = "decada"
2525

@@ -44,6 +44,9 @@ endif
4444
execute "CompilerSet makeprg=" . escape (g:decada.Make_Command, ' ')
4545
execute "CompilerSet errorformat=" . escape (g:decada.Error_Format, ' ')
4646

47+
let &cpo = s:keepcpo
48+
unlet s:keepcpo
49+
4750
finish " 1}}}
4851

4952
"------------------------------------------------------------------------------

runtime/compiler/g95.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Compiler: G95
22
" Maintainer: H Xu <[email protected]>
33
" Version: 0.1.3
4-
" Last Change: 2011 Apr 01
4+
" Last Change: 2012 Apr 30
55
" Homepage: http://www.vim.org/scripts/script.php?script_id=3492
66
" https://bitbucket.org/xuhdev/compiler-g95.vim
77
" License: Same as Vim
@@ -10,6 +10,8 @@ if exists('current_compiler')
1010
finish
1111
endif
1212
let current_compiler = 'g95'
13+
let s:keepcpo= &cpo
14+
set cpo&vim
1315

1416
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
1517
command -nargs=* CompilerSet setlocal <args>
@@ -21,3 +23,6 @@ CompilerSet errorformat=
2123
\%-Z%trror:\ %m,
2224
\%-Z%tarning\ (%n):\ %m,
2325
\%-C%.%#
26+
27+
let &cpo = s:keepcpo
28+
unlet s:keepcpo

runtime/compiler/gfortran.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Compiler: GNU Fortran Compiler
22
" Maintainer: H Xu <[email protected]>
33
" Version: 0.1.3
4-
" Last Change: 19 March 2011
4+
" Last Change: 2012 Apr 30
55
" Homepage: http://www.vim.org/scripts/script.php?script_id=3496
66
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
77
" License: Same as Vim
@@ -10,6 +10,8 @@ if exists('current_compiler')
1010
finish
1111
endif
1212
let current_compiler = 'gfortran'
13+
let s:keepcpo= &cpo
14+
set cpo&vim
1315

1416
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
1517
command -nargs=* CompilerSet setlocal <args>
@@ -20,3 +22,6 @@ CompilerSet errorformat=
2022
\%-Z%trror:\ %m,
2123
\%-Z%tarning:\ %m,
2224
\%-C%.%#
25+
26+
let &cpo = s:keepcpo
27+
unlet s:keepcpo

runtime/compiler/gnat.vim

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
" Help Page: compiler-gnat
1818
"------------------------------------------------------------------------------
1919

20-
if (exists("current_compiler") &&
21-
\ current_compiler == "gnat") ||
22-
\ version < 700
20+
if (exists("current_compiler")&& current_compiler == "gnat") || version < 700
2321
finish
2422
endif
23+
let s:keepcpo= &cpo
24+
set cpo&vim
2525

2626
let current_compiler = "gnat"
2727

@@ -62,6 +62,9 @@ endif
6262
execute "CompilerSet makeprg=" . escape (g:gnat.Get_Command('Make'), ' ')
6363
execute "CompilerSet errorformat=" . escape (g:gnat.Error_Format, ' ')
6464

65+
let &cpo = s:keepcpo
66+
unlet s:keepcpo
67+
6568
finish " 1}}}
6669

6770
"------------------------------------------------------------------------------

runtime/compiler/hp_acc.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Compiler: HP aCC
33
" Maintainer: Matthias Ulrich <[email protected]>
44
" URL: http://www.subhome.de/vim/hp_acc.vim
5-
" Last Change: 2005 Nov 19
5+
" Last Change: 2012 Apr 30
66
"
77
" aCC --version says: "HP ANSI C++ B3910B A.03.13"
88
" This compiler has been tested on:
@@ -19,6 +19,8 @@ if exists("current_compiler")
1919
finish
2020
endif
2121
let current_compiler = "hp_acc"
22+
let s:keepcpo= &cpo
23+
set cpo&vim
2224

2325
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
2426
command -nargs=* CompilerSet setlocal <args>
@@ -30,4 +32,7 @@ CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m,
3032
\%Z\ \ \ \ %p^%.%#,
3133
\%-C%.%#
3234

35+
let &cpo = s:keepcpo
36+
unlet s:keepcpo
37+
3338
" vim:ts=8:sw=4:cindent

runtime/compiler/ifort.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Compiler: Intel Fortran Compiler
22
" Maintainer: H Xu <[email protected]>
33
" Version: 0.1.1
4-
" Last Change: 19 March 2011
4+
" Last Change: 2012 Apr 30
55
" Homepage: http://www.vim.org/scripts/script.php?script_id=3497
66
" https://bitbucket.org/xuhdev/compiler-ifort.vim
77
" License: Same as Vim
@@ -10,6 +10,8 @@ if exists('current_compiler')
1010
finish
1111
endif
1212
let current_compiler = 'ifort'
13+
let s:keepcpo= &cpo
14+
set cpo&vim
1315

1416
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
1517
command -nargs=* CompilerSet setlocal <args>
@@ -20,3 +22,6 @@ CompilerSet errorformat=
2022
\%A%f(%l):\ %tarning\ \#%n:\ %m,
2123
\%-Z%p^,
2224
\%-G%.%#
25+
26+
let &cpo = s:keepcpo
27+
unlet s:keepcpo

runtime/compiler/intel.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
" Vim compiler file
22
" Compiler: Intel C++ 7.1
33
" Maintainer: David Harrison <[email protected]>
4-
" Last Change: 2004 May 16
4+
" Last Change: 2012 Apr 30
55

66
if exists("current_compiler")
77
finish
88
endif
99
let current_compiler = "intel"
10+
let s:keepcpo= &cpo
11+
set cpo&vim
1012

1113
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
1214
command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=%E%f(%l):\ error:\ %m,
1921
\%-Z\ \ %p^,
2022
\%-G\\s%#,
2123
\%-G%.%#
24+
25+
let &cpo = s:keepcpo
26+
unlet s:keepcpo

0 commit comments

Comments
 (0)