summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-09 16:19:15 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-09 16:19:15 +0200
commit4dd1f8f2be6a9d10d13a594e1d81af8de1d0270a (patch)
tree9f44682e45fbc28f88fa661446f6f68c2f93f413
parentf05dea8dd765b0ce5b6c6ea92b049a5ae7547180 (diff)
downloadvim-polyglot-4dd1f8f2be6a9d10d13a594e1d81af8de1d0270a.tar.gz
vim-polyglot-4dd1f8f2be6a9d10d13a594e1d81af8de1d0270a.zip
Fix loading of rust autoload functions, fixes #686
-rw-r--r--autoload/polyglot/init.vim1
1 files changed, 0 insertions, 1 deletions
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim
index 1601eafb..511841e5 100644
--- a/autoload/polyglot/init.vim
+++ b/autoload/polyglot/init.vim
@@ -28,7 +28,6 @@ func! polyglot#init#is_disabled(caller, name, path)
for p in globpath(&rtp, a:path, 0, 1)
if p != a:caller
exe "source " . p
- return 1
endif
endfor
endif