diff options
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/mesonlsp.lua')
-rw-r--r-- | start/lspconfig-0.1.8/lua/lspconfig/server_configurations/mesonlsp.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/mesonlsp.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/mesonlsp.lua new file mode 100644 index 0000000..29eaef9 --- /dev/null +++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/mesonlsp.lua @@ -0,0 +1,19 @@ +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")]], + }, + }, +} |