mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
[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>
This commit is contained in:
committed by
GitHub
parent
b39f18ab8c
commit
a3673dde78
@@ -802,6 +802,8 @@ function! s:handle_initialize(server_name, data) abort
|
||||
call l:Init_callback(a:data)
|
||||
endfor
|
||||
|
||||
call lsp#ui#vim#documentation#setup()
|
||||
|
||||
doautocmd User lsp_server_init
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user