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/perl6.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin/perl6.vim') diff --git a/ftplugin/perl6.vim b/ftplugin/perl6.vim index c32ef43e..4d0446af 100644 --- a/ftplugin/perl6.vim +++ b/ftplugin/perl6.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1 + " Vim filetype plugin file " Language: Perl 6 " Maintainer: vim-perl @@ -86,3 +88,5 @@ let b:undo_ftplugin = "setlocal fo< com< cms< inc< inex< def< isf< isk< kp< path " Restore the saved compatibility options. let &cpo = s:save_cpo unlet s:save_cpo + +endif -- cgit v1.2.3