mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-17 07:53:40 -05:00
Change plugin guard for disabling, fixes #371
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'perl') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: TT2 embedded with HTML
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Homepage: http://github.com/vim-perl/vim-perl
|
||||
@@ -13,5 +15,3 @@ endif
|
||||
|
||||
" Just use the HTML plugin for now.
|
||||
runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user