blob: 65dd085c7e15d8e4c71b30ddd65a671afc71a6c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'ols' },
filetypes = { 'odin' },
root_dir = util.root_pattern('ols.json', '.git'),
single_file_support = true,
},
docs = {
description = [[
https://github.com/DanielGavin/ols
`Odin Language Server`.
]],
default_config = {
root_dir = [[util.root_pattern("ols.json", ".git")]],
},
},
}
|