Skip to content

How to show hover information for selection? #539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
srghma opened this issue Jul 29, 2018 · 3 comments
Closed

How to show hover information for selection? #539

srghma opened this issue Jul 29, 2018 · 3 comments

Comments

@srghma
Copy link

srghma commented Jul 29, 2018

Summary

on srghma/nixfromnpm@cdb3cf5

Using nix-shell --command 'code' to start vscode and hovering on selection

2018-07-29-18 44 26-screenshot

results in two type infos: one for tagMap (above) and second for selection H.lookup tag tagMap (below)

I can't reproduce the same on neovim

nix-shell --command 'nvim'

2018-07-29-18 46 58-screenshot
2018-07-29-18 47 01-screenshot

What it actually shows is type of

      case H.lookup tag tagMap of
        Just sha -> return sha
        Nothing -> throw (InvalidGitRef ref)

Reproduction

  • neovim/vim version (nvim --version or vim --version):
[nix-shell:~/projects/nixfromnpm]$ nvim --version
NVIM v0.2.2
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: /nix/store/gqg2vrcq7krqi9rrl6pphvsg81sb8pjw-gcc-wrapper-7.3.0/bin/gcc -Wconversion -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/source/build/config -I/build/source/src -I/nix/store/f45rl4z9a2rqd7hdhwnj9g831z1k4ilr-libuv-1.19.2/include -I/nix/store/amxxzxi8kwsk0ncbax64lyziaf49x12m-libmsgpack-2.1.5/include -I/nix/store/5caqy8vrrk3r6dg1j7is8hyjbyafxyrr-unibilium-2.0.0/include -I/nix/store/4sswlqrcz5y3s241l0vgrbsyzcrl9gn5-libtermkey-0.20/include -I/nix/store/a0003akn3rdkd7gkzrqk2dn5pk24bhzk-neovim-libvterm-2017-11-05/include -I/nix/store/ivjclr8nncmsn4nf8l9wmljmn79ma81g-jemalloc-5.0.1/include -I/nix/store/p85kjy91dfvs4in358zyfxlksvibw0zn-glibc-2.26-131-dev/include -I/build/source/build/src/nvim/auto -I/build/source/build/include
Compiled by nixbld

Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/nix/store/6d9sl52nsaqa8m6mgach4l7fp7dm53q3-neovim-unwrapped-0.2.2/share/nvim"

Run :checkhealth for more info
  • This plugin version (git rev-parse --short HEAD):
 ~/projects/nixfromnpm   vs-code-integration  cd ~/.config/nvim/bundle/repos/github.com/autozimu/LanguageClient-neovim && git rev-parse --short HEAD
ad629b1

  • This plugin's binary version (bin/languageclient --version):
 ✘  ~/.config/nvim/bundle/repos/github.com/autozimu/LanguageClient-neovim   next  ~/.config/nvim/bundle/repos/github.com/autozimu/LanguageClient-neovim/bin/languageclient --version
languageclient 0.1.105
@autozimu
Copy link
Owner

autozimu commented Aug 4, 2018

Is it the same issue as in #471?

@srghma
Copy link
Author

srghma commented Aug 4, 2018

@autozimu yes, its the same

@autozimu
Copy link
Owner

autozimu commented Aug 4, 2018

Duplicate of #471

@autozimu autozimu marked this as a duplicate of #471 Aug 4, 2018
@autozimu autozimu closed this as completed Aug 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants