aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-lsp-installer/servers/lemminx/init.lua4
-rw-r--r--lua/nvim-lsp-installer/ui/state.lua12
2 files changed, 7 insertions, 9 deletions
diff --git a/lua/nvim-lsp-installer/servers/lemminx/init.lua b/lua/nvim-lsp-installer/servers/lemminx/init.lua
index 51aac722..06853d2b 100644
--- a/lua/nvim-lsp-installer/servers/lemminx/init.lua
+++ b/lua/nvim-lsp-installer/servers/lemminx/init.lua
@@ -31,11 +31,11 @@ return function(name, root_dir)
end
end,
context.set(function(ctx)
- ctx.requested_server_version = coalesce(ctx.requested_server_version, "0.18.0-400")
+ ctx.requested_server_version = coalesce(ctx.requested_server_version, "LATEST")
end),
context.capture(function(ctx)
return std.unzip_remote(
- ("https://download.jboss.org/jbosstools/vscode/stable/lemminx-binary/%s/%s.zip"):format(
+ ("https://download.jboss.org/jbosstools/vscode/snapshots/lemminx-binary/%s/%s.zip"):format(
ctx.requested_server_version,
unzipped_file
)
diff --git a/lua/nvim-lsp-installer/ui/state.lua b/lua/nvim-lsp-installer/ui/state.lua
index 628b8391..9d7bcdda 100644
--- a/lua/nvim-lsp-installer/ui/state.lua
+++ b/lua/nvim-lsp-installer/ui/state.lua
@@ -14,13 +14,11 @@ function M.create_state_container(initial_state, subscriber)
if not has_unsubscribed then
subscriber(state)
end
- end,
- function()
- return state
- end,
- function(val)
- has_unsubscribed = val
- end
+ end, function()
+ return state
+ end, function(val)
+ has_unsubscribed = val
+ end
end
return M