2023-06-19 15:59:04 +08:00
|
|
|
local util = require 'lspconfig.util'
|
|
|
|
|
|
|
|
return {
|
|
|
|
default_config = {
|
|
|
|
cmd = { 'Swift-MesonLSP', '--lsp' },
|
|
|
|
filetypes = { 'meson' },
|
2024-05-21 12:31:14 +08:00
|
|
|
root_dir = util.root_pattern('meson_options.txt', 'meson.options', '.git'),
|
2023-06-19 15:59:04 +08:00
|
|
|
},
|
|
|
|
docs = {
|
|
|
|
description = [[
|
|
|
|
https://github.com/JCWasmx86/Swift-MesonLSP
|
|
|
|
|
|
|
|
Meson language server written in Swift
|
|
|
|
]],
|
|
|
|
default_config = {
|
2024-05-21 12:31:14 +08:00
|
|
|
root_dir = [[util.root_pattern("meson_options.txt", "meson.options", ".git")]],
|
2023-06-19 15:59:04 +08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|