mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-18 00:13:41 -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, 'ansible') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ansible') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
else
|
||||
@@ -9,5 +11,3 @@ endif
|
||||
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions-=c
|
||||
|
||||
let b:undo_ftplugin = "setl comments< commentstring< formatoptions<"
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user