Skip to content

Commit d764d66

Browse files
crtschinfendor
andauthored
Remove fat-fingered whitespaces
Co-authored-by: fendor <fendor@users.noreply.github.com>
1 parent 4748a87 commit d764d66

File tree

1 file changed

+5
-5
lines changed
  • plugins/hls-alternate-number-format-plugin/src/Ide/Plugin

1 file changed

+5
-5
lines changed

plugins/hls-alternate-number-format-plugin/src/Ide/Plugin/Conversion.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ underscoreExtensions = \case
8484

8585
alternateIntFormat :: Integer -> IntFormatType -> UnderscoreFormatType -> AlternateFormat
8686
alternateIntFormat val formatType underscoreFormat = case formatType of
87-
IntDecimalFormat -> (T.pack $ toDecimal underscoreFormat val , underscoreExtensions underscoreFormat)
88-
HexFormat -> (T.pack $ toHex underscoreFormat val , underscoreExtensions underscoreFormat)
89-
OctalFormat -> (T.pack $ toOctal underscoreFormat val , underscoreExtensions underscoreFormat)
90-
BinaryFormat -> (T.pack $ toBinary underscoreFormat val , underscoreExtensions underscoreFormat <> ExtensionNeeded [BinaryLiterals])
91-
NumDecimalFormat -> (T.pack $ toFloatExpDecimal underscoreFormat (fromInteger @Double val) , underscoreExtensions underscoreFormat <> ExtensionNeeded [NumDecimals])
87+
IntDecimalFormat -> (T.pack $ toDecimal underscoreFormat val, underscoreExtensions underscoreFormat)
88+
HexFormat -> (T.pack $ toHex underscoreFormat val, underscoreExtensions underscoreFormat)
89+
OctalFormat -> (T.pack $ toOctal underscoreFormat val, underscoreExtensions underscoreFormat)
90+
BinaryFormat -> (T.pack $ toBinary underscoreFormat val, underscoreExtensions underscoreFormat <> ExtensionNeeded [BinaryLiterals])
91+
NumDecimalFormat -> (T.pack $ toFloatExpDecimal underscoreFormat (fromInteger @Double val), underscoreExtensions underscoreFormat <> ExtensionNeeded [NumDecimals])
9292

9393
alternateFracFormat :: Rational -> FracFormatType -> UnderscoreFormatType -> AlternateFormat
9494
alternateFracFormat val formatType underscoreFormat = case formatType of

0 commit comments

Comments
 (0)