Open Milly opened 3 years ago
Why does polyglot#init#is_disabled()
try to source all autoload script of a:path
in runtimepath?
I made the following changes and it worked fine.
func! polyglot#init#is_disabled(caller, name, path)
return has_key(g:polyglot_is_disabled, a:name)
endfunc
Looks like make test
also fails due to this.
Does this bug happen when you install plugin without vim-polyglot?
No
Describe the bug:
ada
filetype cannot loading.To Reproduce:
Use vim-polyglot 4d4aa5f
vimrc
Cause
polyglot#init#is_disabled()
is called from vim-polyglot/autoload/ada.vim and it's sourced $VIMRUNTIME/autoload/ada.vim. Therefore, it tries to change the locked variable and error occured.