summaryrefslogtreecommitdiffstats
path: root/ftplugin/perl6.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/perl6.vim')
-rw-r--r--ftplugin/perl6.vim4
1 files changed, 4 insertions, 0 deletions
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 <vim-perl@googlegroups.com>
@@ -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