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 --- compiler/cargo.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/cargo.vim') diff --git a/compiler/cargo.vim b/compiler/cargo.vim index ed487a30..fe627453 100644 --- a/compiler/cargo.vim +++ b/compiler/cargo.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1 + " Vim compiler file " Compiler: Cargo Compiler " Maintainer: Damien Radtke @@ -63,3 +65,5 @@ if s:local_manifest != '' call setqflist(qflist, 'r') endfunction endif + +endif -- cgit v1.2.3