Skip to content

Commit bb98507

Browse files
committed
Merge branch 'vim' of git://github.com/b4winckler/macvim into kaoriya
Conflicts: .hgtags
2 parents e149440 + 45f4f1d commit bb98507

Some content is hidden

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

78 files changed

+2792
-1389
lines changed

.hgtags

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,37 @@ fff7028d50c8a44a6285ab23b451d975764b8bd5 v7-2-296
14811481
322a5c8d392bd47ceebd24cd21dacf70409fcc91 v7-3-144
14821482
329a9676040c3182f78e2014322125f8839b5cb6 v7-3-145
14831483
2bd574a2ef1c0ad487a0673a5867b09cd332d176 v7-3-146
1484+
55fe8407514f5387ad872a338d77f64a2ad4b5f5 v7-3-147
1485+
d67916de812ad684718c02e3ff93455ce577be81 v7-3-148
1486+
7f937a04cdbafd7d179b200f75e988408f8caf3c v7-3-149
1487+
6146c9859f6558d618e950fe702c11e41ca21105 v7-3-150
1488+
f169a51f7eadf9a07ed95161143e6209387a4f34 v7-3-151
1489+
0f7f66682a5563c76ab47e9976fd590d9423a013 v7-3-152
1490+
d0cae598360945a425859bf8acf22923c29501f4 v7-3-153
1491+
d72d709f0e18c309069e42d3d7865d68db9e89d7 v7-3-154
1492+
5747cd65d62b613d5060254849ed4bc1e1e5d714 v7-3-155
1493+
7fb8cdb9cb25e1409abe45bba959f5f27608d713 v7-3-156
1494+
9a98d8562637d4c90439125a14224a3403d8bee3 v7-3-157
1495+
b5f774f159274af375455f32d628881c027417d1 v7-3-158
1496+
415c55534d901aa4617bf584462faf0c7198e07e v7-3-159
1497+
c5e47b752f07a95534bbfa83f031a58af67054cb v7-3-160
1498+
25672ad7f377341ff1de9a0773d8cfcad1d37883 v7-3-161
1499+
18ad854f5dcd0ba1700c73b03677dbc88b9844c3 v7-3-162
1500+
e8f012b00187c5a957def85bb3c6f0430f20fed5 v7-3-163
1501+
cdefcbb70e8cdc1f7185f1023d3a4660d30a074b v7-3-164
1502+
e92a4b9b4484d1c07d930719ab1370fcaf94d3c5 v7-3-165
1503+
5ddb68c2a845ad7941d1ae7533a81c12b106dffc v7-3-166
1504+
0a0d7961b4fe83151b03d98ee904ea7038f64123 v7-3-167
1505+
930b171ce3fc9dbca3f9da6bf883faa725593c67 v7-3-168
1506+
5f45bacf31efef21f9b60543504d1832ded3e098 v7-3-169
1507+
64c3402df964791a7b8c925905423f83af83e930 v7-3-170
1508+
1bd8af13fb434e4c99bb756052556f4d56cde200 v7-3-171
1509+
ee48b3da9d53a487f3636df34cace6400d13f32c v7-3-172
1510+
133d089f247eb7156a6e8c49e0526f41cc082c3c v7-3-173
1511+
820f12659c50890dbda80e7280086ae1176d1378 v7-3-174
1512+
537e0102c0f9cc2c0656c298ed1534ef30176eb8 v7-3-175
1513+
94f42ae4e4e66483fb6cc7305c61820b004c6182 v7-3-176
1514+
66f2d62271fe77d4acdda5808bd0d3a45be3149c v7-3-177
14841515
1aa9c79ff847cd945974dd6dec5172795ba6ad7a kaoriya-charspace
14851516
fb2739bfd7c786b788ef7bcd988b61071d2ebd82 kaoriya-transparency
14861517
c6ee0daceb5d8ed4c5d6f9c1d29a82c1d37a62f3 kaoriya-migemo

runtime/autoload/htmlcomplete.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim completion script
22
" Language: HTML and XHTML
33
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
4-
" Last Change: 2006 Oct 19
4+
" Last Change: 2011 Apr 28
55

66
function! htmlcomplete#CompleteTags(findstart, base)
77
if a:findstart
@@ -285,6 +285,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
285285
let cssfiles = styletable + secimportfiles
286286
let classes = []
287287
for file in cssfiles
288+
let classlines = []
288289
if filereadable(file)
289290
let stylesheet = readfile(file)
290291
let stylefile = join(stylesheet, ' ')

runtime/autoload/netrw.vim

Lines changed: 738 additions & 532 deletions
Large diffs are not rendered by default.

runtime/autoload/tohtml.vim

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
" Vim autoload file for the tohtml plugin.
22
" Maintainer: Ben Fritz <[email protected]>
3-
" Last Change: 2011 Jan 05
3+
" Last Change: 2011 Apr 05
44
"
55
" Additional contributors:
66
"
@@ -16,7 +16,7 @@ set cpo-=C
1616
" Automatically find charsets from all encodings supported natively by Vim. With
1717
" the 8bit- and 2byte- prefixes, Vim can actually support more encodings than
1818
" this. Let the user specify these however since they won't be supported on
19-
" every system. TODO: how? g:html_charsets and g:html_encodings?
19+
" every system.
2020
"
2121
" Note, not all of Vim's supported encodings have a charset to use.
2222
"
@@ -312,8 +312,9 @@ func! tohtml#Convert2HTML(line1, line2) "{{{
312312
" figure out whether current charset and encoding will work, if not
313313
" default to UTF-8
314314
if !exists('g:html_use_encoding') &&
315-
\ (&l:fileencoding!='' && &l:fileencoding!=s:settings.vim_encoding ||
316-
\ &l:fileencoding=='' && &encoding!=s:settings.vim_encoding)
315+
\ (((&l:fileencoding=='' || (&l:buftype!='' && &l:buftype!=?'help'))
316+
\ && &encoding!=?s:settings.vim_encoding)
317+
\ || &l:fileencoding!='' && &l:fileencoding!=?s:settings.vim_encoding)
317318
echohl WarningMsg
318319
echomsg "TOhtml: mismatched file encodings in Diff buffers, using UTF-8"
319320
echohl None
@@ -603,6 +604,7 @@ func! tohtml#GetUserSettings() "{{{
603604
call tohtml#GetOption(user_settings, 'no_progress', !has("statusline") )
604605
call tohtml#GetOption(user_settings, 'diff_one_file', 0 )
605606
call tohtml#GetOption(user_settings, 'number_lines', &number )
607+
call tohtml#GetOption(user_settings, 'pre_wrap', &wrap )
606608
call tohtml#GetOption(user_settings, 'use_css', 1 )
607609
call tohtml#GetOption(user_settings, 'ignore_conceal', 0 )
608610
call tohtml#GetOption(user_settings, 'ignore_folding', 0 )
@@ -641,7 +643,13 @@ func! tohtml#GetUserSettings() "{{{
641643
" aren't allowed inside a <pre> block
642644
if !user_settings.use_css
643645
let user_settings.no_pre = 1
644-
endif "}}}
646+
endif
647+
648+
" pre_wrap doesn't do anything if not using pre or not using CSS
649+
if user_settings.no_pre || !user_settings.use_css
650+
let user_settings.pre_wrap=0
651+
endif
652+
"}}}
645653

646654
" set up expand_tabs option after all the overrides so we know the
647655
" appropriate defaults {{{
@@ -669,9 +677,16 @@ func! tohtml#GetUserSettings() "{{{
669677
endif
670678
else
671679
" Figure out proper MIME charset from 'fileencoding' if possible
672-
if &l:fileencoding != ''
673-
let user_settings.vim_encoding = &l:fileencoding
674-
call tohtml#CharsetFromEncoding(user_settings)
680+
if &l:fileencoding != ''
681+
" If the buffer is not a "normal" type, the 'fileencoding' value may not
682+
" be trusted; since the buffer should not be written the fileencoding is
683+
" not intended to be used.
684+
if &l:buftype=='' || &l:buftype==?'help'
685+
let user_settings.vim_encoding = &l:fileencoding
686+
call tohtml#CharsetFromEncoding(user_settings)
687+
else
688+
let user_settings.encoding = '' " trigger detection using &encoding
689+
endif
675690
endif
676691

677692
" else from 'encoding' if possible

runtime/compiler/cs.vim

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
" Vim compiler file
2-
" Compiler: ms C#
3-
" Maintainer: Joseph H. Yao ([email protected])
4-
" Last Change: 2004 Mar 27
2+
" Compiler: Microsoft Visual Studio C#
3+
" Maintainer: Zhou YiChao ([email protected])
4+
" Previous Maintainer: Joseph H. Yao ([email protected])
5+
" Last Change: 2011 Apr 21
56

67
if exists("current_compiler")
78
finish
@@ -12,8 +13,9 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
1213
command -nargs=* CompilerSet setlocal <args>
1314
endif
1415

15-
" default errorformat
1616
CompilerSet errorformat&
17+
CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
18+
\%trror%*[^:]:\ %m,
19+
\%tarning%*[^:]:\ %m
1720

18-
" default make
1921
CompilerSet makeprg=csc\ %

runtime/compiler/g95.vim

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
" Compiler: G95
2+
" Maintainer: H Xu <[email protected]>
3+
" Version: 0.1.3
4+
" Last Change: 2011 Apr 01
5+
" Homepage: http://www.vim.org/scripts/script.php?script_id=3492
6+
" https://bitbucket.org/xuhdev/compiler-g95.vim
7+
" License: Same as Vim
8+
9+
if exists('current_compiler')
10+
finish
11+
endif
12+
let current_compiler = 'g95'
13+
14+
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
15+
command -nargs=* CompilerSet setlocal <args>
16+
endif
17+
18+
CompilerSet errorformat=
19+
\%AIn\ file\ %f:%l,
20+
\%-C%p1,
21+
\%-Z%trror:\ %m,
22+
\%-Z%tarning\ (%n):\ %m,
23+
\%-C%.%#

runtime/compiler/gfortran.vim

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
" Compiler: GNU Fortran Compiler
2+
" Maintainer: H Xu <[email protected]>
3+
" Version: 0.1.3
4+
" Last Change: 19 March 2011
5+
" Homepage: http://www.vim.org/scripts/script.php?script_id=3496
6+
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
7+
" License: Same as Vim
8+
9+
if exists('current_compiler')
10+
finish
11+
endif
12+
let current_compiler = 'gfortran'
13+
14+
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
15+
command -nargs=* CompilerSet setlocal <args>
16+
endif
17+
18+
CompilerSet errorformat=
19+
\%A%f:%l.%c:,
20+
\%-Z%trror:\ %m,
21+
\%-Z%tarning:\ %m,
22+
\%-C%.%#

runtime/compiler/ifort.vim

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
" Compiler: Intel Fortran Compiler
2+
" Maintainer: H Xu <[email protected]>
3+
" Version: 0.1.1
4+
" Last Change: 19 March 2011
5+
" Homepage: http://www.vim.org/scripts/script.php?script_id=3497
6+
" https://bitbucket.org/xuhdev/compiler-ifort.vim
7+
" License: Same as Vim
8+
9+
if exists('current_compiler')
10+
finish
11+
endif
12+
let current_compiler = 'ifort'
13+
14+
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
15+
command -nargs=* CompilerSet setlocal <args>
16+
endif
17+
18+
CompilerSet errorformat=
19+
\%A%f(%l):\ %trror\ \#%n:\ %m,
20+
\%A%f(%l):\ %tarning\ \#%n:\ %m,
21+
\%-Z%p^,
22+
\%-G%.%#

runtime/doc/autocmd.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 7.3. Last change: 2010 Jul 22
1+
*autocmd.txt* For Vim version 7.3. Last change: 2011 Apr 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -786,7 +786,10 @@ TermChanged After the value of 'term' has changed. Useful
786786
TermResponse After the response to |t_RV| is received from
787787
the terminal. The value of |v:termresponse|
788788
can be used to do things depending on the
789-
terminal version.
789+
terminal version. Note that this event may be
790+
triggered halfway executing another event,
791+
especially if file I/O, a shell command or
792+
anything else that takes time is involved.
790793
*User*
791794
User Never executed automatically. To be used for
792795
autocommands that are only executed with

runtime/doc/change.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,8 +917,10 @@ inside of strings can change! Also see 'softtabstop' option. >
917917
{Visual}["x]Y Yank the highlighted lines [into register x] (for
918918
{Visual} see |Visual-mode|). {not in Vi}
919919

920-
*:y* *:yank*
921-
:[range]y[ank] [x] Yank [range] lines [into register x].
920+
*:y* *:yank* *E850*
921+
:[range]y[ank] [x] Yank [range] lines [into register x]. Yanking to the
922+
"* or "+ registers is possible only in GUI versions or
923+
when the |+xterm_clipboard| feature is included.
922924

923925
:[range]y[ank] [x] {count}
924926
Yank {count} lines, starting with last line number

0 commit comments

Comments
 (0)