summaryrefslogtreecommitdiffstats
path: root/ftplugin/meson.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftplugin/meson.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/meson.vim b/ftplugin/meson.vim
index 870f0052..8949b6ee 100644
--- a/ftplugin/meson.vim
+++ b/ftplugin/meson.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'meson') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'meson') == -1
" Vim filetype plugin file
" Language: meson
" Original Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
@@ -17,3 +14,4 @@ setlocal softtabstop=2
let &cpo = s:keepcpo
unlet s:keepcpo
+endif