summaryrefslogtreecommitdiffstats
path: root/ftplugin/mma.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/mma.vim')
-rw-r--r--ftplugin/mma.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/mma.vim b/ftplugin/mma.vim
index c1f8a5a3..237f1da8 100644
--- a/ftplugin/mma.vim
+++ b/ftplugin/mma.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'mathematica') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mathematica') == -1
"Vim filetype plugin
" Language: Mathematica
" Maintainer: R. Menon <rsmenon@icloud.com>
@@ -61,3 +58,4 @@ unlet s:cpo_save
"}
" vim: set foldmarker={,} foldlevel=0 foldmethod=marker:
+endif