Skip to content

references in Denite only contains filename and line number.  #1222

@d0u9

Description

@d0u9

Describe the bug

Running :Denite references in nvim's command line only shows file and line number but no other information about line contents.

For example, running :call LanguageClient#textDocument_references can correctly obtains references as below:

xxx/server/server.go|60 col 18 n| func (s *server) Start() {
xxx/app/app.go|69 col 13 n| app.server.Start()

However, by running :Denite references, only file name are displayed:

xxx/server/server.go:60:18 
xxx/app/app.go:69:13 

Environment

  • neovim/vim version (nvim --version or vim --version): NVIM v0.4.4 installed via homebrew on MacOS
  • This plugin version (git rev-parse --short HEAD): a42594c
  • This plugin's binary version (bin/languageclient --version): languageclient 0.1.161
  • Minimal vimrc content (A minimal vimrc is the smallest vimrc that could
    reproduce the issue. Refer to an example here): min-vimr.vim doesn't contains Denite
  • Language server link and version:

To Reproduce

Steps to reproduce the behavior:

As described in previous section.

Current behavior

Not show line contents.

Expected behavior

Show line contents

Screenshots

No

Additional context

No

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