Skip to content

Commit 8780337

Browse files
committed
hlints
1 parent 90f43a5 commit 8780337

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ghcide/src/Development/IDE/Plugin/Completions.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ orderedCompletions xx@(h:_) = zipWith addOrder [0..] xx
211211
addOrder :: Int -> Scored CompletionItem -> CompletionItem
212212
addOrder n Scored{score_, original = it@CompletionItem{_label,_sortText}} =
213213
it{_sortText = Just $
214-
(T.pack(pad lm (maxScore - score_))) <>
214+
T.pack(pad lm (maxScore - score_)) <>
215215
_label <>
216216
T.pack(pad lxx n)
217217
}

ghcide/src/Development/IDE/Plugin/Completions/Logic.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ getCompletions plId ideOpts CC {allModNamesAsNS, anyQualCompls, unqualCompls, qu
550550
(fmap.fmap) mkModCompl
551551
$ Fuzzy.simpleFilter chunkSize maxC fullPrefix
552552
$ (if T.null enteredQual then id else mapMaybe (T.stripPrefix enteredQual))
553-
$ allModNamesAsNS
553+
allModNamesAsNS
554554

555555
filtCompls = Fuzzy.filter chunkSize maxC prefixText ctxCompls "" "" label False
556556
where

0 commit comments

Comments
 (0)