• R/O
  • SSH

vim: 提交

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

修訂19ef2bbf569cba64ae5125d5b1f3f205efc25e89 (tree)
時間2008-02-26 04:46:51
作者vimboss
Commitervimboss

Log Message

updated for version 7.1-263

Change Summary

差異

diff -r 8d74df00f7da -r 19ef2bbf569c runtime/indent.vim
--- a/runtime/indent.vim Wed Feb 20 19:11:07 2008 +0000
+++ b/runtime/indent.vim Mon Feb 25 19:46:51 2008 +0000
@@ -1,7 +1,7 @@
11 " Vim support file to switch on loading indent files for file types
22 "
33 " Maintainer: Bram Moolenaar <Bram@vim.org>
4-" Last Change: 2005 Mar 28
4+" Last Change: 2008 Feb 22
55
66 if exists("did_indent_on")
77 finish
@@ -15,11 +15,17 @@
1515 exe b:undo_indent
1616 unlet! b:undo_indent b:did_indent
1717 endif
18- if expand("<amatch>") != ""
18+ let s = expand("<amatch>")
19+ if s != ""
1920 if exists("b:did_indent")
2021 unlet b:did_indent
2122 endif
22- runtime! indent/<amatch>.vim
23+
24+ " When there is a dot it is used to separate filetype names. Thus for
25+ " "aaa.bbb" load "indent/aaa.vim" and then "indent/bbb.vim".
26+ for name in split(s, '\.')
27+ exe 'runtime! indent/' . name . '.vim'
28+ endfor
2329 endif
2430 endfunc
2531 augroup END
diff -r 8d74df00f7da -r 19ef2bbf569c src/version.c
--- a/src/version.c Wed Feb 20 19:11:07 2008 +0000
+++ b/src/version.c Mon Feb 25 19:46:51 2008 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 263,
671+/**/
670672 262,
671673 /**/
672674 261,
Show on old repository browser