Skip to content

Commit 0b8165c

Browse files
authored
fix: remove parenthesis from find_git_ancestor call (#3166)
1 parent 9bda20f commit 0b8165c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lua/lspconfig/server_configurations/drools_lsp.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ end
3737
return {
3838
default_config = {
3939
filetypes = { 'drools' },
40-
root_dir = util.find_git_ancestor(),
40+
root_dir = util.find_git_ancestor,
4141
single_file_support = true,
4242
on_new_config = function(new_config)
4343
new_config.cmd = get_cmd(new_config)

lua/lspconfig/server_configurations/mutt_ls.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ return {
44
default_config = {
55
cmd = { 'mutt-language-server' },
66
filetypes = { 'muttrc', 'neomuttrc' },
7-
root_dir = util.find_git_ancestor(),
7+
root_dir = util.find_git_ancestor,
88
single_file_support = true,
99
settings = {},
1010
},

0 commit comments

Comments
 (0)