summaryrefslogtreecommitdiffstats
path: root/syntax/cobol.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/cobol.vim')
-rw-r--r--syntax/cobol.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/cobol.vim b/syntax/cobol.vim
index 8cf9fb43..e1ab7a14 100644
--- a/syntax/cobol.vim
+++ b/syntax/cobol.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('cobol', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'cobol')
finish
endif