diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-06-05 20:45:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-05 20:45:24 -0700 |
commit | b3e3ab0567a1a3c2f97de943ef9d7b24c0008979 (patch) | |
tree | c5ecbdef60c3a3a6527db22681556cbf2f3658ad /runtime/lua/vim/lsp/util.lua | |
parent | 36802b895f6c426c37e84a0ade3f64bfcf2eb842 (diff) | |
parent | 5902bed406e418134b09db5c86f3b03dfd437993 (diff) | |
download | rneovim-b3e3ab0567a1a3c2f97de943ef9d7b24c0008979.tar.gz rneovim-b3e3ab0567a1a3c2f97de943ef9d7b24c0008979.tar.bz2 rneovim-b3e3ab0567a1a3c2f97de943ef9d7b24c0008979.zip |
Merge pull request #14733 from mjlbach/fix_docs_2
docs(lsp): fix locations_to_items docstring
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r-- | runtime/lua/vim/lsp/util.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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) |