Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dundalek committed Mar 13, 2024
1 parent e7638bd commit c1ccb63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/lazy-lsp/overrides.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ return {
-- It fails if cargo is not available, fallback to a simpler detection.
if not vim.fn.executable("cargo") then
return util.root_pattern("Cargo.toml")(fname)
or util.root_pattern("rust-project.json")(fname)
or util.find_git_ancestor(fname)
or util.root_pattern("rust-project.json")(fname)
or util.find_git_ancestor(fname)
end
return lspconfig.jdtls.document_config.default_config.root_dir(fname)
end
end,
},
}

0 comments on commit c1ccb63

Please sign in to comment.