Closed am1re closed 2 years ago
The issue is:
exists('*some#function')
will return false if autoload/some.vim
hasn't been sourced.autoload/some.vim
has been previously sourced.https://github.com/lambdalisue/fern.vim/commit/93d34cc78b77a890ed31440a2572016993a2ecd7 appears to have fixed this in practice in the short-term. In the long-term I can probably migrate to an alternative that doesn't rely on autoload functions at all.
Thank you for the fast response 😊 Unfortunately those changes https://github.com/lambdalisue/fern.vim/commit/93d34cc78b77a890ed31440a2572016993a2ecd7 just affected error message and didnt resolve the issue as @lambdalisue said https://github.com/lambdalisue/fern.vim/issues/407#issuecomment-1080800398
Okay, failed to reproduce myself, but that could be some load order thing.
As we discussed this issue https://github.com/lambdalisue/fern.vim/issues/407 on
lambdalisue/fern.vim
side, several points were made:This causes
lambdalisue/fern.vim
plugin to behave unexpectedly as described here https://github.com/lambdalisue/fern.vim/issues/407