mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-19 12:56:08 +00:00
commit
368ccb84e0
@ -141,7 +141,7 @@ getTrueModuleName name = do
|
||||
onlyImportDecl _ = Nothing
|
||||
|
||||
-- Get all imports that we use.
|
||||
imports <- catMaybes <$> map onlyImportDecl <$> getContext
|
||||
imports <- ClassyPrelude.catMaybes <$> map onlyImportDecl <$> getContext
|
||||
|
||||
-- Find the ones that have a qualified name attached.
|
||||
-- If this name isn't one of them, it already is the true name.
|
||||
@ -178,7 +178,7 @@ completionType line loc target
|
||||
= Empty
|
||||
|
||||
-- When in a string, complete filenames.
|
||||
| cursorInString line loc
|
||||
| cursorInString line loc
|
||||
= FilePath (getStringTarget lineUpToCursor) (getStringTarget lineUpToCursor)
|
||||
|
||||
-- Complete module names in imports and elsewhere.
|
||||
|
@ -4,7 +4,7 @@
|
||||
module Main where
|
||||
|
||||
-- Prelude imports.
|
||||
import ClassyPrelude hiding (last, liftIO)
|
||||
import ClassyPrelude hiding (last, liftIO, readChan, writeChan)
|
||||
import Prelude (last, read)
|
||||
|
||||
-- Standard library imports.
|
||||
|
Loading…
x
Reference in New Issue
Block a user