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

Add different Contexts for Module, import etc... #1375

Merged
merged 5 commits into from
Sep 1, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make sure Completions has identical behaviour
  • Loading branch information
fendor committed Aug 29, 2019
commit cc7510bf1cfdaec25a5b015bd17971d4a3d864b8
2 changes: 1 addition & 1 deletion src/Haskell/Ide/Engine/LSP/Completions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ getCompletions uri prefixInfo (WithSnippets withSnippets) =
ctxCompls' = case context of
TypeContext -> filter isTypeCompl compls
ValueContext -> filter (not . isTypeCompl) compls
_ -> []
_ -> filter (not . isTypeCompl) compls
-- Add whether the text to insert has backticks
ctxCompls = map (\comp -> comp { isInfix = infixCompls }) ctxCompls'

Expand Down