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