When I work on Python files that contain imports from the fast.ai library vim freezes for a long time. This only happens when the jedi-vim plugin is enabled.
The issue was already discussed here, here and here.
The solution apparently is to add "jedi.jediSettings.autoImportModules": ["fastai", "fastcore"], to the coc config. Running :CocConfig doesn't work for me and it's unclear to me where I have to put the Lua code that was posted.
Is there any code/config-option that I can paste directly into my vimrc?
When I work on Python files that contain imports from the fast.ai library vim freezes for a long time. This only happens when the jedi-vim plugin is enabled.
The issue was already discussed here, here and here. The solution apparently is to add
"jedi.jediSettings.autoImportModules": ["fastai", "fastcore"],
to the coc config. Running:CocConfig
doesn't work for me and it's unclear to me where I have to put the Lua code that was posted.Is there any code/config-option that I can paste directly into my vimrc?