Guillaume Petiot

Results 27 issues of Guillaume Petiot

Hi, as the continuous effort of maintaining ocamlformat and simplifying the code and its options, the `align-*` options (`--align-cases`, `--align-constructors-decl`, `--align-variants-decl`) often come up as options we would like to...

Calling `dune-release` without a sub-command is the same as calling `dune-release bistro`. Is there really a benefit to having this command? (not sure this is even properly documented)

(from #235) We should only publish the doc of packages that have a doc field pointing to ghpages. Also since we don't necessarily need that doc uri to be able...

Extracted from ocamlformat-ng's concrete AST, replacing the convoluted pattern `Ppat_constraint(Ppat_unpack x, Ptyp_package y)` with `Ppat_unpack(x, Some y)` Preserving this syntax (and not removing/adding keywords) makes the formatting of comments easier.

CLA Signed

Extracted from ocamlformat-ng's concrete AST PS: preserving this syntax (and not removing/adding keywords) makes the formatting of comments easier.

CLA Signed

Closes #1958 This is a new profile I wanted to work on for quite some time. It doesn't impact existing profiles. New values are added to a few existing options,...

This allows to switch between hovbox/hvbox depending on whether the elements (patterns/expressions) of a collection (list/array) are "simple" (basically a constant, an identifier, or a prefix operator applied on something...

CLA Signed

Fix #1080 @CraigFe @samoht please don't hesitate if you have any feedback on this new option

CLA Signed