diff --git a/main/Main.hs b/main/Main.hs index e5f4ef96..f7d76d94 100644 --- a/main/Main.hs +++ b/main/Main.hs @@ -43,7 +43,7 @@ data Nixfmt = Nixfmt options :: Nixfmt options = - let defaultWidth = 80 + let defaultWidth = 100 addDefaultHint value message = message ++ "\n[default: " ++ show value ++ "]" in Nixfmt diff --git a/test/test.sh b/test/test.sh index 1042af61..74977086 100755 --- a/test/test.sh +++ b/test/test.sh @@ -11,7 +11,7 @@ shellcheck "$0" cd "$(dirname "$0")/.." shopt -s expand_aliases -alias nixfmt="cabal v2-run --verbose=0 nixfmt --" +alias nixfmt="cabal v2-run --verbose=0 nixfmt -- -w 80" # Do a test run to make sure it compiles fine nixfmt --version