Merge pull request #14733 from mjlbach/fix_docs_2

docs(lsp): fix locations_to_items docstring
This commit is contained in:
Michael Lingelbach 2021-06-05 20:45:24 -07:00 committed by GitHub
commit b3e3ab0567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1598,8 +1598,9 @@ function M.locations_to_items(locations)
return items
end
--- Fills current window's location list with given list of items.
--- Fills target window's location list with given list of items.
--- Can be obtained with e.g. |vim.lsp.util.locations_to_items()|.
--- Defaults to current window.
---
--@param items (table) list of items
function M.set_loclist(items, win_id)