Open d0u9 opened 3 years ago
So, any update?
Sorry for the delayed response. I'm not able to test this right now, but if you are feeling adventurous you could try changing this line:
https://github.com/autozimu/LanguageClient-neovim/blob/a42594c9c320b1283e9b9058b85a8097d8325fed/rplugin/python3/denite/source/references.py#L69
to this: text = self.vim.funcs.getbufline(filepath, line)
Let me know if it helped if you do try it and we can arrange a PR for that.
Hello martskins, I patched that line and nvim failed to response anything after invoking Denite references
. It seems that nvim stacks in busy loop and CPU usage of nvim surges to 100%.
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:However, by running
:Denite references
, only file name are displayed:Environment
nvim --version
orvim --version
): NVIM v0.4.4 installed via homebrew on MacOSgit rev-parse --short HEAD
): a42594cbin/languageclient --version
): languageclient 0.1.161To 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