File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 603603 } ;
604604 } ;
605605 } ;
606+ fourmolu = mkOption {
607+ description = "fourmolu hook" ;
608+ type = types . submodule {
609+ imports = [ hookModule ] ;
610+ options . settings . defaultExtensions = mkOption {
611+ type = types . listOf types . str ;
612+ description = "Haskell language extensions to enable." ;
613+ default = [ ] ;
614+ } ;
615+ } ;
616+ } ;
606617 golines = mkOption {
607618 description = "golines hook" ;
608619 type = types . submodule {
27442755 package = tools . fourmolu ;
27452756 entry =
27462757 "${ hooks . fourmolu . package } /bin/fourmolu --mode inplace ${
2747- lib . escapeShellArgs ( lib . concatMap ( ext : [ "--ghc-opt" "-X${ ext } " ] ) hooks . ormolu . settings . defaultExtensions )
2758+ lib . escapeShellArgs ( lib . concatMap ( ext : [ "--ghc-opt" "-X${ ext } " ] ) hooks . fourmolu . settings . defaultExtensions )
27482759} ";
27492760 files = "\\ .l?hs(-boot)?$" ;
27502761 } ;
You can’t perform that action at this time.
0 commit comments