nvimdev / nvimdev/lspsaga.nvim
Random error from :LspSaga hover_doc
Open
Nobody has claimed this yet.
bug
- Dominant language
- Lua
- Stars
- 3.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
I randomly get this error from LspSaga:
For context, my ShowHelp() just calls :LspSaga hover_doc:
" Show documentation for word under cursor using builtin :help for vim and
" help files and LSP for everything else
function! ShowHelp()
if index(['vim','help'], &filetype) >= 0
execute 'vert bo h '.expand('<cword>')
else
execute 'Lspsaga hover_doc'
endif
endfunction
Steps to reproduce
I have no clear recipe to reproduce the issue.
Expected behavior
No error.
Neovim version (nvim -v)
0.10.0
lspsaga commit
6f920cf
Terminal name/version
Gnome Terminal 3.44.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the :LspSaga hover_doc entry point and inspect the error shown in the attached report, using the provided Neovim 0.10.0 and lspsaga commit 6f920cf versions. Try to establish a reproducible trigger; done means identifying and preventing the reported error, with a regression check if the project has a relevant test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100