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 --- ftplugin/git.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin/git.vim') diff --git a/ftplugin/git.vim b/ftplugin/git.vim index c9bcd436..853dfa10 100644 --- a/ftplugin/git.vim +++ b/ftplugin/git.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1 + " Vim filetype plugin " Language: generic git output " Maintainer: Tim Pope @@ -36,3 +38,5 @@ endif setlocal includeexpr=substitute(v:fname,'^[^/]\\+/','','') let b:undo_ftplugin = "setl keywordprg< path< includeexpr<" + +endif -- cgit v1.2.3