Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
368ccb84
Commit
368ccb84
authored
Oct 26, 2014
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #296 from edwtjo/nixos-fixes
NixOS fixes
parents
6fe9b22d
03ce2504
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Completion.hs
src/IHaskell/Eval/Completion.hs
+2
-2
Main.hs
src/Main.hs
+1
-1
No files found.
src/IHaskell/Eval/Completion.hs
View file @
368ccb84
...
...
@@ -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.
...
...
src/Main.hs
View file @
368ccb84
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment