diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/c3_lsp.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lua/lspconfig/server_configurations/c3_lsp.lua b/lua/lspconfig/server_configurations/c3_lsp.lua index 9c2b15da..e1d84aa4 100644 --- a/lua/lspconfig/server_configurations/c3_lsp.lua +++ b/lua/lspconfig/server_configurations/c3_lsp.lua @@ -4,7 +4,7 @@ return { default_config = { cmd = { 'c3lsp' }, root_dir = function(fname) - return util.root_pattern { 'project.json', '.git' }(fname) + return util.root_patttern { 'project.json', 'manifest.json', '.git' }(fname) end, filetypes = { 'c3', 'c3i' }, }, @@ -13,9 +13,6 @@ return { https://github.com/pherrymason/c3-lsp Language Server for c3. - ]], - default_config = { - root_dir = [[root_pattern("project.json", ".git")]], - }, +]], }, } |
