diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-08-25 03:04:18 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-08-25 03:04:18 +0000 |
commit | 12b87e55bad8a9fb51b48dcf6e0287a5b62450b3 (patch) | |
tree | c8b3ffe7e7e485880e72253b84924d6ad85e9014 /runtime/scripts.vim | |
parent | 61c4e2cb89476fd114133eadad3f1bf8f2541596 (diff) | |
download | vim-git-12b87e55bad8a9fb51b48dcf6e0287a5b62450b3.tar.gz |
updated for version 7.2-006v7.2.006
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r-- | runtime/scripts.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim index 62ea472d4..d20ab09ad 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -234,6 +234,10 @@ else elseif s:line1 =~ '\<DTD\s\+XHTML\s' set ft=xhtml + " HTML (e.g.: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN") + elseif s:line1 =~? '\<DOCTYPE\s\+html\>' + set ft=html + " PDF elseif s:line1 =~ '^%PDF-' set ft=pdf |