1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-11 01:25:48 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/swift_mesonls.lua

20 lines
467 B
Lua
Raw Normal View History

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'Swift-MesonLSP', '--lsp' },
filetypes = { 'meson' },
root_dir = util.root_pattern('meson_options.txt', 'meson.options', '.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", "meson.options", ".git")]],
},
},
}