jedi-vim icon indicating copy to clipboard operation
jedi-vim copied to clipboard

Vim hangs when working on files with fastai import

Open tom-doerr opened this issue 3 years ago • 0 comments

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?

tom-doerr avatar Dec 14 '21 13:12 tom-doerr