The last component of the type is always missing in floating window.
your-diary opened this issue · comments
According to README.md
, it is supported
types and documentation on hover
and I found this "hover" can be triggered by call CocAction("doHover")
.
However, when I try to get the type information, the last component is always missing.
The expected result is std::vec::Vector<&str>
, but the actual result is std::vec::
. (Why?)
So types on hover is not working though documentation on hover is working:
Environments:
macOS BigSur
VIM - Vi IMproved 8.2
My current workaround is to disable the floating window.
The documentation of coc.nvim says
"hover.target":~
Target to show hover information, default is floating window when
possible.
Valid options: ["preview", "echo", "float"]
"hover.target": "preview"
"hover.target": "echo"
Both work.