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/vimgo.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'syntax/vimgo.vim') diff --git a/syntax/vimgo.vim b/syntax/vimgo.vim index d62791d3..4dec0b43 100644 --- a/syntax/vimgo.vim +++ b/syntax/vimgo.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + if exists("b:current_syntax") finish endif @@ -9,3 +11,5 @@ syn region goTitle start="\%1l" end=":" hi def link goInterface Type hi def link goTitle Label + +endif -- cgit v1.2.3