Skip to content

Hover only works the 2nd time #135

Closed
@TomMD

Description

@TomMD

Using neovim, vim-lsp, haskell-language-server a2b7710

cabal unpack generic-trie
cd generic-trie*
cat <<EOF >hie.yaml
cradle:
  cabal:
    component: "lib:generic-trie"
EOF
nvim src/Data/GenericTrie.hs

Wander to a symbol, such as the expression in the delete declaration. Wait for HLS to get done loading:

2020-05-26 23:17:04.987019 [ThreadId 673] - finish: InitialLoad (took 0.06s)
2020-05-26 23:17:04.987012 [ThreadId 672] - finish: InitialLoad (took 0.06s)
2020-05-26 23:17:04.987233 [ThreadId 406] - finish shakeRun: batch (took 0.06s, completed)

Seems good. Now try to hover (\lh for me):

No hover information found

Oh, I guess all this IDE stuff isn't all it's cracked up to be. Let's stubbornly try again:

Screen Shot 2020-05-26 at 11 19 20 PM

ohh... 2nd time is the charm. And it's consistent - reproducible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: ghcidestatus: needs infoNot actionable, because there's missing informationtype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions