Permalink
Browse files

Fixed indent of labelled arguments

  • Loading branch information...
1 parent fab6277 commit 21916c6a638cf06c49fc008f61da3352f74d060e @AltGr AltGr committed Mar 25, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/indentBlock.ml
View
@@ -371,7 +371,9 @@ let op_prio_align_indent config =
| INFIXOP4 _ -> 110,L,config.i_base
(* apply: 140 *)
| TILDE | QUESTION -> 140,L,config.i_base
- | LABEL _ | OPTLABEL _ -> 145,L,0
+ | LABEL _ | OPTLABEL _ ->
+ if config.i_align_params = Always then 145,T,config.i_base
+ else 145,L,config.i_base
| SHARP -> 150,L,config.i_base
| DOT -> 160,L,config.i_base
| _ -> assert false

0 comments on commit 21916c6

Please sign in to comment.