1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 07:40:05 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/opencl_ls.lua

22 lines
603 B
Lua

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")]],
},
},
}