1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 17:50:05 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/swift_mesonls.lua

20 lines
433 B
Lua
Vendored

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'Swift-MesonLSP', '--lsp' },
filetypes = { 'meson' },
root_dir = util.root_pattern('meson_options.txt', '.git'),
},
docs = {
description = [[
https://github.com/JCWasmx86/Swift-MesonLSP
Meson language server written in Swift
]],
default_config = {
root_dir = [[util.root_pattern("meson_options.txt", ".git")]],
},
},
}