From a8624be213b042b475f020252a7ea0d55b9f1bf9 Mon Sep 17 00:00:00 2001 From: William Boman Date: Wed, 12 Jan 2022 02:37:27 +0100 Subject: feat: add opencl_ls (#1654) --- lua/lspconfig/server_configurations/opencl_ls.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lua/lspconfig/server_configurations/opencl_ls.lua (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/opencl_ls.lua b/lua/lspconfig/server_configurations/opencl_ls.lua new file mode 100644 index 00000000..dc88d24c --- /dev/null +++ b/lua/lspconfig/server_configurations/opencl_ls.lua @@ -0,0 +1,21 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'opencl-language-server' }, + filetypes = { 'opencl' }, + root_dir = util.find_git_ancestor, + }, + docs = { + description = [[ +https://github.com/Galarius/opencl-language-server + +Build instructions can be found [here](https://github.com/Galarius/opencl-language-server/blob/main/_dev/build.md). + +Prebuilt binaries are available for Linux, macOS and Windows [here](https://github.com/Galarius/opencl-language-server/releases). +]], + default_config = { + root_dir = [[util.root_pattern(".git")]], + }, + }, +} -- cgit v1.2.3-70-g09d2