summaryrefslogtreecommitdiffstats
path: root/runtime/scripts.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-25 22:05:04 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-25 22:05:04 +0000
commitbd404149f7ad7bc94dc7da3e5e7ee96a83228b9d (patch)
tree92aef70685a08f5b68b1555eefd4e1bd8e44504b /runtime/scripts.vim
parent42bbef4a4996b5f7908b65d8bd01fccf8b883675 (diff)
updated for version 7.0b01
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r--runtime/scripts.vim7
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim
index dab9729724..1f82abd6d3 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: 2006 Feb 01
+" Last change: 2006 Mar 25
" 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
@@ -278,9 +278,8 @@ else
set ft=sindacmp
" DNS zone files
- elseif s:line1.s:line2 =~ '$ORIGIN\|$TTL\|IN\s*SOA'
- \ || s:line1.s:line2.s:line3.s:line4 =~ 'BIND.*named'
- set ft=dns
+ elseif s:line1.s:line2.s:line3.s:line4 =~ '^; <<>> DiG [0-9.]\+ <<>>\|BIND.*named\|$ORIGIN\|$TTL\|IN\s\+SOA'
+ set ft=bindzone
" BAAN
elseif s:line1 =~ '|\*\{1,80}' && s:line2 =~ 'VRC '