mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 08:00:05 +08:00
1c4627c212
ref: 9bda20fb96
20 lines
483 B
Lua
20 lines
483 B
Lua
local util = require 'lspconfig.util'
|
|
|
|
return {
|
|
default_config = {
|
|
cmd = { 'mesonlsp', '--lsp' },
|
|
filetypes = { 'meson' },
|
|
root_dir = util.root_pattern('meson_options.txt', 'meson.options', '.git'),
|
|
},
|
|
docs = {
|
|
description = [[
|
|
https://github.com/JCWasmx86/mesonlsp
|
|
|
|
An unofficial, unendorsed language server for meson written in C++
|
|
]],
|
|
default_config = {
|
|
root_dir = [[util.root_pattern("meson_options.txt", "meson.options", ".git")]],
|
|
},
|
|
},
|
|
}
|