aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/opencl_ls/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/opencl_ls/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/opencl_ls/init.lua12
1 files changed, 3 insertions, 9 deletions
diff --git a/lua/nvim-lsp-installer/servers/opencl_ls/init.lua b/lua/nvim-lsp-installer/servers/opencl_ls/init.lua
index 27ce3413..8a0af34f 100644
--- a/lua/nvim-lsp-installer/servers/opencl_ls/init.lua
+++ b/lua/nvim-lsp-installer/servers/opencl_ls/init.lua
@@ -8,15 +8,9 @@ local Data = require "nvim-lsp-installer.data"
local coalesce, when = Data.coalesce, Data.when
return function(name, root_dir)
local target = coalesce(
- when(
- platform.is_mac,
- coalesce(
- when(platform.arch == "x64", "opencl-language-server-darwin.zip"),
- when(platform.arch == "arm64", "opencl-language-server-darwin.zip")
- )
- ),
- when(platform.is_linux, coalesce(when(platform.arch == "x64", "opencl-language-server-linux.zip"))),
- when(platform.is_win, coalesce(when(platform.arch == "x64", "opencl-language-server-win32.zip")))
+ when(platform.is_mac, "opencl-language-server-darwin-x86_64.zip"),
+ when(platform.is_linux, coalesce(when(platform.arch == "x64", "opencl-language-server-linux-x86_64.zip"))),
+ when(platform.is_win, coalesce(when(platform.arch == "x64", "opencl-language-server-win32-x86_64.zip")))
)
return server.Server:new {
name = name,