mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Use vim-polyglot only as fallback to other plugins, fixes #580
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
let files = filter(globpath(&rtp, 'autoload/rubycomplete.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
|
||||
|
||||
" Vim completion script
|
||||
|
||||
Reference in New Issue
Block a user