From 92ab75408df8bff49bb29e113b3cc159d1ac3105 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 18 Jul 2015 23:05:45 +0200 Subject: Allow for disabling individual languages, closes #66 --- syntax/javascript/html5.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'syntax/javascript/html5.vim') diff --git a/syntax/javascript/html5.vim b/syntax/javascript/html5.vim index eaf84298..f9462dee 100644 --- a/syntax/javascript/html5.vim +++ b/syntax/javascript/html5.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: HTML5 New Stuff " Maintainer: othree @@ -41,3 +43,5 @@ syn keyword javascriptDomElemAttrs videoWidth videoHeight poster " drag and drop syn keyword javascriptDomElemAttrs onDragStart onDragEnd onDragEnter onDragLeave onDragOver onDrag onDrop draggable dropzone + +endif -- cgit v1.2.3