aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/taplo/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/taplo/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/taplo/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/servers/taplo/init.lua b/lua/nvim-lsp-installer/servers/taplo/init.lua
index c9e405bb..b1bedb17 100644
--- a/lua/nvim-lsp-installer/servers/taplo/init.lua
+++ b/lua/nvim-lsp-installer/servers/taplo/init.lua
@@ -32,6 +32,11 @@ return function(name, root_dir)
win = std.unzip_remote(ctx.github_release_file),
}
end),
+ context.receipt(function(receipt, ctx)
+ receipt:with_primary_source(receipt.github_release_file(ctx, {
+ tag_name_pattern = "^release%-lsp%-",
+ }))
+ end),
},
default_options = {
cmd_env = {