diff options
| author | William Boman <william@redwill.se> | 2022-01-12 02:37:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-11 17:37:27 -0800 |
| commit | a8624be213b042b475f020252a7ea0d55b9f1bf9 (patch) | |
| tree | 1c033011a21c6db4c3c1ab204bed45505b77bfc8 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-a8624be213b042b475f020252a7ea0d55b9f1bf9.tar nvim-lspconfig-a8624be213b042b475f020252a7ea0d55b9f1bf9.tar.gz nvim-lspconfig-a8624be213b042b475f020252a7ea0d55b9f1bf9.tar.bz2 nvim-lspconfig-a8624be213b042b475f020252a7ea0d55b9f1bf9.tar.lz nvim-lspconfig-a8624be213b042b475f020252a7ea0d55b9f1bf9.tar.xz nvim-lspconfig-a8624be213b042b475f020252a7ea0d55b9f1bf9.tar.zst nvim-lspconfig-a8624be213b042b475f020252a7ea0d55b9f1bf9.zip | |
feat: add opencl_ls (#1654)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/opencl_ls.lua | 21 |
1 files changed, 21 insertions, 0 deletions
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")]], + }, + }, +} |
