1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 08:00:05 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/mesonlsp.lua
2024-05-21 12:31:14 +08:00

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")]],
},
},
}