diff --git a/.ocamlformat b/.ocamlformat
index 602451fa17e13f4715bac4db2e9403b55fa2449c..42aaaea17fd5f6381117dac8f4943d6c393112b8 100644
--- a/.ocamlformat
+++ b/.ocamlformat
@@ -1,4 +1,4 @@
-version=0.20.1
+version=0.22.4
 exp-grouping=parens
 if-then-else=keyword-first
 max-indent=2