summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/ols.lua
blob: 6b890f60b731a3180d556160674d6cf027da3a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local util = require 'lspconfig.util'

return {
  default_config = {
    cmd = { 'ols' },
    filetypes = { 'odin' },
    root_dir = util.root_pattern('ols.json', '.git', '*.odin'),
  },
  docs = {
    description = [[
           https://github.com/DanielGavin/ols

           `Odin Language Server`.
        ]],
    default_config = {
      root_dir = [[util.root_pattern("ols.json", ".git", "*.odin")]],
    },
  },
}