Skip to content

:InteroTypeGeneric does not work with ghci backend #133

@gilligan

Description

@gilligan

I am using intero-nvim with ghci as backend provider (ghc 8.22). When I execute :interoTypeGeneric I get:

*Lib> :type-at "src/Lib.hs" 51 1 51 10 startApp
Couldn't guess that module name. Does it exist?   

The correct invocation for ghci would be:

*Lib> :type-at Lib 51 1 51 10 startApp

Note that :InteroTypeInsert works because it does actually use that syntax. My guess is that the invocation for :InteroTypeAt should be the same as for InteroTypeInsert and this would fix the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions