summaryrefslogtreecommitdiff
path: root/runtime/syntax/html.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-20 22:06:07 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-20 22:06:07 +0000
commit80fc04348a4ea2e0b993c9acbc3f11e59cab9d4a (patch)
treeb6de3688ce4d6c3c2952eedde77f3e2c87abbd2e /runtime/syntax/html.vim
parent87b774daf29db0a9dd8aad90e46a71c399ccde9d (diff)
downloadvim-git-80fc04348a4ea2e0b993c9acbc3f11e59cab9d4a.tar.gz
updated for version 7.0111v7.0111
Diffstat (limited to 'runtime/syntax/html.vim')
-rw-r--r--runtime/syntax/html.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/syntax/html.vim b/runtime/syntax/html.vim
index a2ffc1869..a76dfccdc 100644
--- a/runtime/syntax/html.vim
+++ b/runtime/syntax/html.vim
@@ -2,7 +2,7 @@
" Language: HTML
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
" URL: http://www.fleiner.com/vim/syntax/html.vim
-" Last Change: 2005 Jul 18
+" Last Change: 2005 Jul 20
" Please check :help html.vim for some comments and a description of the options
@@ -27,7 +27,9 @@ endif
syn case ignore
-syn spell toplevel
+if main_syntax == "html"
+ syn spell toplevel
+endif
" mark illegal characters
syn match htmlError "[<>&]"