lsp: add preview_location util function (#12368)

* add preview_location

* add doc stub

* doc style; return bufnr&winnr of preview

* doc: function may return nil

Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>

* doc: fixup

Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
This commit is contained in:
Christian Clason
2020-05-26 15:07:10 +02:00
committed by GitHub
parent 15b762761a
commit 2ca8f02a64
2 changed files with 25 additions and 0 deletions

View File

@@ -1053,6 +1053,9 @@ highlight_region({ft}, {start}, {finish})
jump_to_location({location}) *vim.lsp.util.jump_to_location()*
TODO: Documentation
preview_location({location}) *vim.lsp.util.preview_location()*
TODO: Documentation
locations_to_items({locations}) *vim.lsp.util.locations_to_items()*
TODO: Documentation