aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/installers/context.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-10-29 19:26:49 +0200
committerGitHub <noreply@github.com>2021-10-29 19:26:49 +0200
commitb7c821c1e38ad7f52195186b0f5d17a6d64a55aa (patch)
treefd8789919803e8d8d253e3dd5108ac7d82bdc478 /lua/nvim-lsp-installer/installers/context.lua
parentfix gathering currently open filetypes (diff)
downloadmason-b7c821c1e38ad7f52195186b0f5d17a6d64a55aa.tar
mason-b7c821c1e38ad7f52195186b0f5d17a6d64a55aa.tar.gz
mason-b7c821c1e38ad7f52195186b0f5d17a6d64a55aa.tar.bz2
mason-b7c821c1e38ad7f52195186b0f5d17a6d64a55aa.tar.lz
mason-b7c821c1e38ad7f52195186b0f5d17a6d64a55aa.tar.xz
mason-b7c821c1e38ad7f52195186b0f5d17a6d64a55aa.tar.zst
mason-b7c821c1e38ad7f52195186b0f5d17a6d64a55aa.zip
add public API to close installer window (#208)
Diffstat (limited to 'lua/nvim-lsp-installer/installers/context.lua')
-rw-r--r--lua/nvim-lsp-installer/installers/context.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/installers/context.lua b/lua/nvim-lsp-installer/installers/context.lua
index b5be573f..71f2f991 100644
--- a/lua/nvim-lsp-installer/installers/context.lua
+++ b/lua/nvim-lsp-installer/installers/context.lua
@@ -89,7 +89,7 @@ function M.use_github_release(repo)
end
---@param repo string @The GitHub report ("username/repo").
----@param file string @The name of a file availabine in the provided repo's GitHub releases.
+---@param file string|fun(resolved_version: string): string @The name of a file available in the provided repo's GitHub releases.
function M.use_github_release_file(repo, file)
return installers.pipe {
M.use_github_release(repo),