Commit Graph

10 Commits

Author SHA1 Message Date
mattn
a56304f238 Fix width of documentation popup (#932)
* Fix width of documentatoin popup

* Show borders
2020-11-26 15:33:06 +09:00
Subhaditya Nath
45babeb947 Improved neovim floating windows, and misc. other improvements (#921) 2020-11-15 01:37:01 +09:00
Tim Weber
864b5e5409 Only define au for CompleteChanged if supported (#892)
This prevents an exception to be thrown by this function, causing the
lsp_server_init event not to be fired.
2020-08-24 14:18:12 -07:00
Luma
d9835b8a4a check nvim_win availability before attempting to close (#877) 2020-08-04 18:31:27 -07:00
Prabir Shrestha
b05c8da3ec remove dup float2nr 2020-07-18 17:10:45 +00:00
Ttayu
8673f8e109 Avoid window height is 0. (#864)
Co-authored-by: Prabir Shrestha <mail@prabir.me>
2020-07-18 10:08:13 -07:00
pocari
1c58fd6020 fix API call error (#857) 2020-06-28 21:51:29 -07:00
Thomas Lee
14e553613d Fix documentation preview window (#856)
* Cast height to integer
* Cast width to integer
2020-06-28 21:13:02 -07:00
Ttayu
78ccf69584 Avoid window width is 0. (#852) 2020-06-27 10:31:09 -07:00
Thomas Faingnaert
a3673dde78 [WIP] Popup documentation (#507)
* Show documentation in Vim popup

* Use timer

* Reuse logic from output.vim

* Change default text

* Rename functions

* Refactor

* Use v:event

* Add comment

* Remove log

* Refactor

* Implement documentation in Neovim

* Cleanup Neovim popup

* Let Neovim float take all available space

* Extract get_size_info

* Reuse sizing logic from output.vim

* Fix Neovim positioning being reset

* Update autoload/lsp/ui/vim/documentation.vim

Co-Authored-By: Christian Clason <christian.clason@uni-due.de>

* Make vint happy

* Retrigger Travis CI

* add g:lsp_documentation_float flag

* fix lint issues

Co-authored-by: Christian Clason <christian.clason@uni-due.de>
Co-authored-by: Prabir Shrestha <mail@prabir.me>
2020-06-20 12:21:25 -07:00