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