mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
* Add LspPeekDefinition * Add documentation * Add lsp-peek-definition mapping to documentation * Add link to Vim preview-window help * Rewrite LspPeekDefinition using preview window * Implement peek for Vim popup window * Make LspPeekDefinition work in Neovim * Support align in Neovim * Fix linter errors * Extract duplicate code to s:align_preview function * Merge setlocal settings in one line * Remove suppress_close * Clean up cursor movement for preview window * Move Neovim cursor code to separate function * Allow customising peek alignment * Move Vim alignment code to separate function * Implement Vim alignment of popup window * Cleanup * Remove extraneous lines * Move set_cursor logic * Move scrolloff setting * Make function calls a bit more consistent * Vim popup window fixes * Remove extraneous call * Fix Vim alignment * Remove hardcoded width * Add abort to closure function * Fix artifacts * Fix wrong height if popup above cursor * Add remaining Peek commands Add LspPeekImplementation, LspPeekTypeDefinition and LspPeekDeclaration. * Fix wrong positioning of Vim popup