Skip to content

Commit cb2fbf7

Browse files
committed
formatting
1 parent 851daef commit cb2fbf7

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/Completion/CabalFields.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ onelineSectionArgs sectionArgs = joinedName
8181
getName :: Syntax.SectionArg Syntax.Position -> T.Text
8282
getName (Syntax.SecArgName _ identifier) = T.decodeUtf8 identifier
8383
getName (Syntax.SecArgStr _ quotedString) = T.decodeUtf8 quotedString
84-
getName (Syntax.SecArgOther _ string) = T.decodeUtf8 string
84+
getName (Syntax.SecArgOther _ string) = T.decodeUtf8 string

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/Outline.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ defDocumentSymbol range = DocumentSymbol
116116
, _selectionRange = range
117117
, _children = Nothing
118118
, _tags = Nothing
119-
}
119+
}

plugins/hls-cabal-plugin/test/Outline.hs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@ module Outline (
44
outlineTests,
55
) where
66

7-
import Language.LSP.Protocol.Types (
8-
DocumentSymbol (..),
9-
Position (..),
10-
Range (..),
11-
)
12-
import Test.Hls qualified as T
13-
import Utils
7+
import Language.LSP.Protocol.Types (DocumentSymbol (..),
8+
Position (..), Range (..))
9+
import qualified Test.Hls as T
10+
import Utils
1411

1512
testSymbols :: (T.HasCallStack) => T.TestName -> FilePath -> [DocumentSymbol] -> T.TestTree
1613
testSymbols testName path expectedSymbols =

0 commit comments

Comments
 (0)