From 5902bed406e418134b09db5c86f3b03dfd437993 Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Sat, 5 Jun 2021 17:22:47 -0700 Subject: docs(lsp): fix locations_to_items docstring --- runtime/lua/vim/lsp/util.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/lua') diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index 9862b1dd32..863cfa086d 100644 --- a/runtime/lua/vim/lsp/util.lua +++ b/runtime/lua/vim/lsp/util.lua @@ -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) -- cgit