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/gitcommit.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin/gitcommit.vim') diff --git a/ftplugin/gitcommit.vim b/ftplugin/gitcommit.vim index 3c1bb4f0..b031ef77 100644 --- a/ftplugin/gitcommit.vim +++ b/ftplugin/gitcommit.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1 + " Vim filetype plugin " Language: git commit file " Maintainer: Tim Pope @@ -58,3 +60,5 @@ function! s:gitdiffcached(bang,gitdir,...) nnoremap q :q setlocal buftype=nowrite nobuflisted noswapfile nomodifiable filetype=git endfunction + +endif -- cgit v1.2.3