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 --- indent/rust.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indent/rust.vim') diff --git a/indent/rust.vim b/indent/rust.vim index 300d7dac..3033f063 100644 --- a/indent/rust.vim +++ b/indent/rust.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1 + " Vim indent file " Language: Rust " Author: Chris Morgan @@ -194,3 +196,5 @@ function GetRustIndent(lnum) " Fall back on cindent, which does it mostly right return cindent(a:lnum) endfunction + +endif -- cgit v1.2.3