Skip to content

Commit 927b5eb

Browse files
committed
Merge branch 'vim' of git://github.com/b4winckler/macvim into kaoriya
2 parents 4c79745 + 05413de commit 927b5eb

File tree

17 files changed

+493
-188
lines changed

17 files changed

+493
-188
lines changed

.hgtags

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,3 +1656,10 @@ b3a523ced6bd1173e4c17611559c173094830d43 v7-3-304
16561656
dc60200a16b21c3e4157708bb825ea61b9e5bdc1 v7-3-313
16571657
6ab1b45cc95ed56105b2130dc9938bb8344ff903 v7-3-314
16581658
3ecf9e91d88acdb5eaaf93cc15a18914b60e0eb3 v7-3-315
1659+
33c140e4664d102c34ec3ec5a17318f75cf475d7 v7-3-316
1660+
92a181a1cec3fec52cde1b3d71f628a3a2dc53c6 v7-3-317
1661+
d68f20a86a3ec75d927955be5d31983b6c37eb1d v7-3-318
1662+
dc7f2f9759208aa07bf136deca661fd080a1ee68 v7-3-319
1663+
738ea87c196431c452bd499c5a9849597ac938de v7-3-320
1664+
fc0804089b2945bfe683f9bc9ee0238b8c64a46e v7-3-321
1665+
38a7fd9043474dfb464c338ffd7f393361f5a6c1 v7-3-322

runtime/doc/syntax.txt

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 7.3. Last change: 2011 Jul 18
1+
*syntax.txt* For Vim version 7.3. Last change: 2011 Sep 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2605,8 +2605,41 @@ reduce this, the "sh_maxlines" internal variable can be set. Example: >
26052605
The default is to use the twice sh_minlines. Set it to a smaller number to
26062606
speed up displaying. The disadvantage is that highlight errors may appear.
26072607

2608+
*g:sh_isk* *g:sh_noisk*
2609+
The shell languages appear to let "." be part of words, commands, etc;
2610+
consequently it should be in the isk for sh.vim. As of v116 of syntax/sh.vim,
2611+
syntax/sh.vim will append the "." to |'iskeyword'| by default; you may control
2612+
this behavior with: >
2613+
let g:sh_isk = '..whatever characters you want as part of iskeyword'
2614+
let g:sh_noisk= 1 " otherwise, if this exists, the isk will NOT chg
2615+
<
2616+
*sh-embed* *sh-awk*
2617+
Sh: EMBEDDING LANGUAGES~
2618+
2619+
You may wish to embed languages into sh. I'll give an example courtesy of
2620+
Lorance Stinson on how to do this with awk as an example. Put the following
2621+
file into $HOME/.vim/after/syntax/sh/awkembed.vim: >
2622+
2623+
" AWK Embedding: {{{1
2624+
" ==============
2625+
" Shamelessly ripped from aspperl.vim by Aaron Hope.
2626+
if exists("b:current_syntax")
2627+
unlet b:current_syntax
2628+
endif
2629+
syn include @AWKScript syntax/awk.vim
2630+
syn region AWKScriptCode matchgroup=AWKCommand start=+[=\\]\@<!'+ skip=+\\'+ end=+'+ contains=@AWKScript contained
2631+
syn region AWKScriptEmbedded matchgroup=AWKCommand start=+\<awk\>+ skip=+\\$+ end=+[=\\]\@<!'+me=e-1 contains=@shIdList,@shExprList2 nextgroup=AWKScriptCode
2632+
syn cluster shCommandSubList add=AWKScriptEmbedded
2633+
hi def link AWKCommand Type
2634+
<
2635+
This code will then let the awk code in the single quotes: >
2636+
awk '...awk code here...'
2637+
be highlighted using the awk highlighting syntax. Clearly this may be
2638+
extended to other languages.
26082639

2609-
SPEEDUP (AspenTech plant simulator) *spup.vim* *ft-spup-syntax*
2640+
2641+
SPEEDUP *spup.vim* *ft-spup-syntax*
2642+
(AspenTech plant simulator)
26102643

26112644
The Speedup syntax file has some options:
26122645

@@ -2689,6 +2722,8 @@ sections, subsections, etc are supported. Put >
26892722
in your <.vimrc>, and :set fdm=syntax. I suggest doing the latter via a
26902723
modeline at the end of your LaTeX file: >
26912724
% vim: fdm=syntax
2725+
If your system becomes too slow, then you might wish to look into >
2726+
https://vimhelp.appspot.com/vim_faq.txt.html#faq-29.7
26922727
<
26932728
*tex-nospell*
26942729
Tex: Don't Want Spell Checking In Comments? ~
@@ -2729,6 +2764,9 @@ If you have a slow computer, you may wish to reduce the values for >
27292764
increase them. This primarily affects synchronizing (i.e. just what group,
27302765
if any, is the text at the top of the screen supposed to be in?).
27312766

2767+
Another cause of slow highlighting is due to syntax-driven folding; see
2768+
|tex-folding| for a way around this.
2769+
27322770
*tex-morecommands* *tex-package*
27332771
Tex: Want To Highlight More Commands? ~
27342772

runtime/doc/todo.txt

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

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -34,12 +34,37 @@ not be repeated below, unless there is extra information.
3434
*known-bugs*
3535
-------------------- Known bugs and current work -----------------------
3636

37-
Patch to start GTK only after forking. (Tim Starling, 2011 Sep 12)
37+
Patch for redirection. (Yasuhiro Matsumoto, 2011 Sep 15) 2nd patch.
38+
Another on Sep 15?
3839

39-
Patch for Lua debug(). (Rob Hoelz, 2011 Sep 12)
40+
Patch for DFLT_EFM. (Ben Boeckel, 2011 Sep 14)
41+
42+
Code style patch. (Elias Diem, 2011 Sep 19)
43+
44+
Patch for 'transparency' option. (Ben Boeckel, 2011 Sep 14)
45+
Do we want this? Also Sergiu Dotenco, 2011 Sep 17.
46+
47+
Patch for gui_w32.c: call DefWindowProc(). (Sergiu Dotenco, 2011 Sep 15, 17)
48+
49+
Patch to use task dialogs when available. (Sergiu Dotenco, 2011 Sep 15, 17)
50+
Addition Sep 16.
51+
52+
Patch for alpha-blended icons and toolbar height. (Sergiu Dotenco, 2011 Sep 15, 17)
53+
54+
Change to #ifdef for PDP_RETVAL. (Sergiu Dotenco, 2011 Sep 17, patch 2)
55+
56+
Patch for phpcomplete.vim (Benjamin Haskell) picked up by maintainer?
57+
58+
Add voting item: modern plugin management (automatic updates, handle
59+
dependencies).
60+
Add links to http://vimcasts.org/ and http://vimgolf.com/
61+
Read http://www.charlietanksley.net/philtex/sane-vim-plugin-management/
4062

4163
Go through more coverity reports.
4264

65+
Patch for Issue #9: http://code.google.com/p/vim/issues/detail?id=9
66+
C++ indenting. martin.gieseking
67+
4368
Using "." to repeat a Visual delete counts bytes, not characters. Can this be
4469
fixed? (Connor Lane Smith, 2011 Sep 1)
4570

@@ -67,6 +92,9 @@ Patch for: (Christian Brabandt, 2011 Aug 24, updated patch)
6792
8 ":sign unplace * file={filename}" should work. Also: ":sign unplace *
6893
buffer={bufnr}". So one can remove all signs for one file/buffer.
6994

95+
Problem with winfixheight and resizing. (Yukihiro Nakadaira, 2011 Sep 17)
96+
Patch Sep 18.
97+
7098
Problem with l: dictionary being locked in a function. (ZyX, 2011 Jul 21)
7199

72100
'cursorline' is displayed too short when there are concealed characters and
@@ -138,9 +166,14 @@ string() can't parse back "inf" and "nan". Fix documentation or fix code?
138166

139167
Make 'formatprg' global-local. (Sung Pae)
140168

169+
v:register doesn't work exactly as expected. (David Fishburn, 2011 Sep 20)
170+
141171
When doing "redir => s:foo" in a script and then "redir END" somewhere else
142172
(e.g. in a function) it can't find s:foo.
143173

174+
When setqflist() uses a filename that triggers a BufReadCmd autocommand Vim
175+
doesn't jump to the correct line with :cfirst. (ZyX, 2011 Sep 18)
176+
144177
7 Make "ga" show the digraph for a character, if it exists.
145178
Patch from Christian Brabandt, 2011 Aug 19.
146179

@@ -420,6 +453,8 @@ it. Caused by "syntax sync fromstart" in combination with patch 7.2.274.
420453
Generally, folding with 'foldmethod' set to "syntax" is slow. Do profiling to
421454
find out why.
422455

456+
Syntax priority problem. (Charles Campbell, 2011 Sep 15)
457+
423458
When completion inserts the first match, it may trigger the line to be folded.
424459
Disable updating folds while completion is active? (Peter Odding, 2010 Jun 9)
425460

runtime/indent/awk.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ endfunction
189189

190190
function! s:Seems_continuing( line )
191191
" Unfinished lines
192+
if a:line =~ '\(--\|++\)\s*$'
193+
return 0
194+
endif
192195
if a:line =~ '[\\,\|\&\+\-\*\%\^]\s*$'
193196
return 1
194197
endif

runtime/syntax/debcontrol.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: Debian Vim Maintainers <[email protected]>
44
" Former Maintainers: Gerfried Fuchs <[email protected]>
55
" Wichert Akkerman <[email protected]>
6-
" Last Change: 2011 June 01
6+
" Last Change: 2011 Sep 17
77
" URL: http://anonscm.debian.org/hg/pkg-vim/vim/raw-file/unstable/runtime/syntax/debcontrol.vim
88

99
" Standard syntax initialization
@@ -24,7 +24,7 @@ syn match debControlComma ", *"
2424
syn match debControlSpace " "
2525

2626
" Define some common expressions we can use later on
27-
syn match debcontrolArchitecture contained "\%(all\|any\|linux-any\|\%(any-\)\=\%(alpha\|amd64\|arm\%(e[bl]\)\=\|avr32\|hppa\|i386\|ia64\|lpia\|m32r\|m68k\|mips\%(el\)\=\|powerpc\|ppc64\|s390x\=\|sh[34]\(eb\)\=\|sh\|sparc\%(64\)\=\)\|hurd-\%(i386\|any\)\|kfreebsd-\%(i386\|amd64\|any\)\|knetbsd-\%(i386\|any\)\|kopensolaris-\%(i386\|any\)\|netbsd-\%(alpha\|i386\|any\)\)"
27+
syn match debcontrolArchitecture contained "\%(all\|linux-any\|\%(any-\)\=\%(alpha\|amd64\|arm\%(e[bl]\|hf\)\=\|avr32\|hppa\|i386\|ia64\|lpia\|m32r\|m68k\|mips\%(el\)\=\|powerpc\|ppc64\|s390x\=\|sh[34]\(eb\)\=\|sh\|sparc\%(64\)\=\)\|hurd-\%(i386\|any\)\|kfreebsd-\%(i386\|amd64\|any\)\|knetbsd-\%(i386\|any\)\|kopensolaris-\%(i386\|any\)\|netbsd-\%(alpha\|i386\|any\)\|any\)"
2828
syn match debcontrolMultiArch contained "\%(no\|foreign\|allowed\|same\)"
2929
syn match debcontrolName contained "[a-z0-9][a-z0-9+.-]\+"
3030
syn match debcontrolPriority contained "\(extra\|important\|optional\|required\|standard\)"

0 commit comments

Comments
 (0)