Skip to content

Commit e9adf90

Browse files
committed
Fmt & cleanup
1 parent 27543d1 commit e9adf90

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

plugins/hls-inlay-hints-plugin/src/Ide/Plugin/InlayHints.hs

-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import Data.Either (isRight)
1313
import Data.Hashable (Hashable)
1414
import qualified Data.Map.Strict as M
1515
import Data.Maybe (fromMaybe)
16-
import Data.String (IsString (fromString))
17-
import Data.Text (Text)
1816
import Development.IDE (GhcSessionDeps (GhcSessionDeps),
1917
HieAstResult (HAR, refMap),
2018
IdeState,
@@ -39,7 +37,6 @@ import Development.IDE.GHC.Compat (Fixity (Fixity), Name,
3937
mkRealSrcLoc,
4038
realSrcLocSpan,
4139
realSrcSpanEnd,
42-
realSrcSpanStart,
4340
srcLocCol, srcLocLine)
4441
import Development.IDE.GHC.Compat.Core (HscEnv)
4542
import qualified Development.IDE.GHC.Compat.Util as Util

plugins/hls-inlay-hints-plugin/test/testdata/Hover.hs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{-# LANGUAGE RecordWildCards #-}
22
module Hover where
3-
import Control.Monad
4-
import Data.Function (on)
5-
import Control.Applicative ((<|>))
3+
import Control.Applicative ((<|>))
4+
import Control.Monad
5+
import Data.Function (on)
66
f1 = (++)
77
f2 = ($)
88
f3 = (.)
@@ -24,8 +24,8 @@ f17 = (<|>)
2424
infixr 7 >>:
2525
infix 9 >>::
2626
data F = G
27-
{ (>>:) :: Int -> Int -> Int
28-
, c :: Int
27+
{ (>>:) :: Int -> Int -> Int
28+
, c :: Int
2929
, (>>::) :: Char
3030
}
3131
f G{..} = undefined
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module HoverImport where
22

3-
import Hover
3+
import Hover
44

55
g = (>>>:)

0 commit comments

Comments
 (0)