lspitzner / brittany

haskell source code formatter
GNU Affero General Public License v3.0
690 stars 72 forks source link

Alternate behaviour for block-level keywords #188

Open fredefox opened 5 years ago

fredefox commented 5 years ago

I see that you have a flag lconfig_indentWhereSpecial that, if I understand correctly, will have the where-keyword indented at half the length of a normal indent (or something along those lines) would it be possible to get a flag to have the keyword align with the block. As in:

f x = closure
  where
  closure = ...