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

20 lines
433 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', '.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")]],
},
},
}