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/gotexttmpl.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'syntax/gotexttmpl.vim') diff --git a/syntax/gotexttmpl.vim b/syntax/gotexttmpl.vim index 50b4653d..23cc8d0b 100644 --- a/syntax/gotexttmpl.vim +++ b/syntax/gotexttmpl.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + " Copyright 2011 The Go Authors. All rights reserved. " Use of this source code is governed by a BSD-style " license that can be found in the LICENSE file. @@ -83,3 +85,5 @@ hi def link goTplComment Comment let b:current_syntax = "gotexttmpl" " vim:ts=4:sw=4:et + +endif -- cgit v1.2.3