aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/opencl_ls.lua
blob: 387bd22be8d822912b4a0d4727332b6e723736e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
return {
  default_config = {
    cmd = { 'opencl-language-server' },
    filetypes = { 'opencl' },
    root_dir = function(fname)
      return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
    end,
  },
  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).
]],
  },
}