aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/glsl_analyzer.lua
blob: 9155637ddddbf9a6ded032e0a330928471af8a18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
return {
  default_config = {
    cmd = { 'glsl_analyzer' },
    filetypes = { 'glsl', 'vert', 'tesc', 'tese', 'frag', 'geom', 'comp' },
    root_dir = function(fname)
      return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
    end,
    single_file_support = true,
    capabilities = {},
  },
  docs = {
    description = [[
https://github.com/nolanderc/glsl_analyzer

Language server for GLSL
    ]],
  },
}