Skip to content

Vim hangs when working on files with fastai import #1069

@tom-doerr

Description

@tom-doerr

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions