summaryrefslogtreecommitdiffstats
path: root/after/syntax/html.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax/html.vim')
-rw-r--r--after/syntax/html.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/after/syntax/html.vim b/after/syntax/html.vim
index ab99117d..43c0c41e 100644
--- a/after/syntax/html.vim
+++ b/after/syntax/html.vim
@@ -35,6 +35,22 @@ syn region ShaderScript
\ contains=@GLSL,htmlScriptTag,@htmlPreproc
endif
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
+" Vim syntax file
+" Language: HTML (version 5.1)
+" Last Change: 2017 Feb 15
+" License: Public domain
+" (but let me know if you like :) )
+"
+" Maintainer: Kao, Wei-Ko(othree) ( othree AT gmail DOT com )
+
+" Comment
+" https://github.com/w3c/html/issues/694
+syntax region htmlComment start=+<!--+ end=+-->+ contains=@Spell
+syntax region htmlComment start=+<!DOCTYPE+ keepend end=+>+
+
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'less') == -1
if !exists("g:less_html_style_tags")