Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit a676c88

Browse files
committed
Make sure Completions has identical behaviour
1 parent f7846ab commit a676c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Haskell/Ide/Engine/LSP/Completions.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ getCompletions uri prefixInfo (WithSnippets withSnippets) =
373373
ctxCompls' = case context of
374374
TypeContext -> filter isTypeCompl compls
375375
ValueContext -> filter (not . isTypeCompl) compls
376-
_ -> []
376+
_ -> filter (not . isTypeCompl) compls
377377
-- Add whether the text to insert has backticks
378378
ctxCompls = map (\comp -> comp { isInfix = infixCompls }) ctxCompls'
379379

0 commit comments

Comments
 (0)