diff options
Diffstat (limited to 'after/indent/objc.vim')
-rw-r--r-- | after/indent/objc.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/after/indent/objc.vim b/after/indent/objc.vim index 081e7033..ee644861 100644 --- a/after/indent/objc.vim +++ b/after/indent/objc.vim @@ -1,4 +1,6 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'objc') == -1 +if !polyglot#util#IsEnabled('objc', expand('<sfile>:p')) + finish +endif " Vim indent file " Language: Objective-C @@ -93,5 +95,3 @@ endfunction " Restore 'cpo' options let &cpo = s:save_cpo unlet s:save_cpo - -endif |