Closed tani closed 1 year ago
I will work on this issue next month.
これが原因でした。cmp-cmdlineのafter/pluginが読み込まれていないため失敗しています。
runtimepathには追加されるので、初期化時の:packaddなら問題ない。 :help load-plugins つまり、以下のように初期化時の処理の最後に呼ばれる+{command}だと読み込まれない。
I tought that this issue is inconsistent with respect to the loading order. I means that it may be never solved.
cmp-cmdline
is loaded. Then, after/plugin
is also loaded by the lastet version of jetpack. In after/plugin
, cmp-cmdline
executes require('cmp')
. Thus, cmp
should be loaded before this plugin.cmp
is loaded. Then, config
is loaded immediately after the loading of this plugin. In config
, the function executes cmp.setup.cmdline
. Thus, cmp-cmdline
should be loaded before this plugin.This is the cyclic dependency. It theoretically is imposslble to solve such a depdency. To solve this issue, you should load before VimEnter. I means that you should use the non-lazyloading.
Please check the latest commit. I confirmed that it is solved. Thank you for the great contribution 🍻
It worked properly with the latest version of the commit (ddbcbf2b). Thanks for the fix!
@gw31415 said