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/gohtmltmpl.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'syntax/gohtmltmpl.vim') diff --git a/syntax/gohtmltmpl.vim b/syntax/gohtmltmpl.vim index 5aa6c98d..b5e3ff76 100644 --- a/syntax/gohtmltmpl.vim +++ b/syntax/gohtmltmpl.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + if exists("b:current_syntax") finish endif @@ -13,3 +15,5 @@ unlet b:current_syntax let b:current_syntax = "gohtmltmpl" " vim:ts=4:sw=4:et + +endif -- cgit v1.2.3