diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-09-20 23:22:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-09-20 23:22:24 +0000 |
commit | bfd8fc0529f46612f7b3efca6c7b3305e70ac374 (patch) | |
tree | f6b8a9bdb8bf573cea7862b3ab5ad41dfb5d1b46 /runtime/scripts.vim | |
parent | 60a795aad6ade281146a5343b416f21825af5364 (diff) | |
download | vim-git-bfd8fc0529f46612f7b3efca6c7b3305e70ac374.tar.gz |
updated for version 7.0149v7.0149
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r-- | runtime/scripts.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim index dd439efdd..06a6d3619 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types in scripts " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last change: 2005 May 20 +" Last change: 2005 Sep 20 " This file is called by an autocommand for every file that has just been " loaded into a buffer. It checks if the type of file can be recognized by @@ -182,6 +182,7 @@ else " - "Index: <filename>" in the first line (CVS file) elseif s:line1 =~ '^\(diff\>\|Only in \|\d\+\(,\d\+\)\=[cda]\d\+\>\|# It was generated by makepatch \|Index:\s\+\f\+$\|===== \f\+ \d\+\.\d\+ vs edited\|==== //\f\+#\d\+\)' \ || (s:line1 =~ '^--- ' && s:line2 =~ '^+++ ') + \ || (s:line1 =~ '^\* looking for ' && s:line2 =~ '^\* comparing to ') \ || (s:line1 =~ '^\*\*\* ' && s:line2 =~ '^--- ') set ft=diff |