diff --git a/lua/lspconfig/server_configurations/drools_lsp.lua b/lua/lspconfig/server_configurations/drools_lsp.lua index 75720a4285..d5dd3cc05f 100644 --- a/lua/lspconfig/server_configurations/drools_lsp.lua +++ b/lua/lspconfig/server_configurations/drools_lsp.lua @@ -37,7 +37,7 @@ end return { default_config = { filetypes = { 'drools' }, - root_dir = util.find_git_ancestor(), + root_dir = util.find_git_ancestor, single_file_support = true, on_new_config = function(new_config) new_config.cmd = get_cmd(new_config) diff --git a/lua/lspconfig/server_configurations/mutt_ls.lua b/lua/lspconfig/server_configurations/mutt_ls.lua index bf6b23b619..2026bf92b2 100644 --- a/lua/lspconfig/server_configurations/mutt_ls.lua +++ b/lua/lspconfig/server_configurations/mutt_ls.lua @@ -4,7 +4,7 @@ return { default_config = { cmd = { 'mutt-language-server' }, filetypes = { 'muttrc', 'neomuttrc' }, - root_dir = util.find_git_ancestor(), + root_dir = util.find_git_ancestor, single_file_support = true, settings = {}, },