Show documentation on (neovim) floating window?
See original GitHub issueHello,
Do you have a plan to implement show doc on (nvim) floating window?
Like vim-go has a setting called g:go_doc_popup_window
.
Show doc on Floating window or Popup window may be more comfortable than preview~
Thanks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
LSP: how to open documentation in a help buffer instead of ...
A feature I like in coc.nvim is the option to open documentation in a help buffer (or a preview window) instead of in...
Read more >Lsp - Neovim docs
Read vim.diagnostic.config() to learn how to customize the display. ... Calling the function twice will jump into the floating window.
Read more >Using Neovim floating window to break bad habits - The stuff I ...
My second requirement is to have a box drawn in the buffer to show the borders of the window. There are a lot...
Read more >Setup nvim-lspconfig + nvim-cmp | Devlog
In nvim-lspconfig documentation you'll find instructions to install the language ... Show diagnostics in a floating window bufmap('n', 'gl', ...
Read more >neoclide/coc.nvim - Gitter
@Annis_Monadjem_twitter Possible floating window hidden by other plugin. ... By disabling it in init.vim the original neovim K show the document.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the mean time I am using this hack:
Thank you very much, that was indeed the problem!
I also had to change
title = "Docstring for %s" % d.desc_with_module
totitle = "Docstring for %s" % d.full_name
to make it work;I added a line for color support in neovim since it didn’t have any color syntaxing without:
call setbufvar(winbufnr(winid), '&syntax','rst')
Here's my current full code for nvim if useful