summaryrefslogtreecommitdiffstats
path: root/autoload/rust
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--autoload/rust.vim2
-rw-r--r--autoload/rust/debugging.vim2
-rw-r--r--autoload/rust/delimitmate.vim2
-rw-r--r--autoload/rust/tags.vim2
-rw-r--r--autoload/rustfmt.vim2
5 files changed, 5 insertions, 5 deletions
diff --git a/autoload/rust.vim b/autoload/rust.vim
index a8f5bfa3..6c6fbe13 100644
--- a/autoload/rust.vim
+++ b/autoload/rust.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('rust', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'rust')
finish
endif
diff --git a/autoload/rust/debugging.vim b/autoload/rust/debugging.vim
index 9096333b..d200e9fc 100644
--- a/autoload/rust/debugging.vim
+++ b/autoload/rust/debugging.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('rust', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'rust')
finish
endif
diff --git a/autoload/rust/delimitmate.vim b/autoload/rust/delimitmate.vim
index 7d2d1817..25735f9c 100644
--- a/autoload/rust/delimitmate.vim
+++ b/autoload/rust/delimitmate.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('rust', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'rust')
finish
endif
diff --git a/autoload/rust/tags.vim b/autoload/rust/tags.vim
index 8ffa4d51..1acbb5bb 100644
--- a/autoload/rust/tags.vim
+++ b/autoload/rust/tags.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('rust', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'rust')
finish
endif
diff --git a/autoload/rustfmt.vim b/autoload/rustfmt.vim
index 81ebe56e..1d6f91ed 100644
--- a/autoload/rustfmt.vim
+++ b/autoload/rustfmt.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('rust', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'rust')
finish
endif