diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -1,5 +1,6 @@ [fix] -clang-format:pattern = (rootglob:**.c or rootglob:**.cc or rootglob:**.h) and not "listfile:contrib/clang-format-ignorelist" +clang-format:command = clang-format --style file +clang-format:pattern = set:(rootglob:**.c or rootglob:**.cc or rootglob:**.h) and not "include:contrib/clang-format-ignorelist" rustfmt:command = rustfmt rustfmt:pattern = set:rootglob:**.rs