From 45a7512dea0599efaf96e8a2cad3fac7be61cf5d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 25 Oct 2020 20:33:44 +0100 Subject: Preserve loading order of plugins, fixes #608 --- autoload/rust/debugging.vim | 2 +- autoload/rust/delimitmate.vim | 2 +- autoload/rust/tags.vim | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'autoload/rust') 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(':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(':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(':p')) +if !has_key(g:polyglot_is_disabled, 'rust') finish endif -- cgit v1.2.3