{"action":"created","issue":{"url":"https://api.github.com/repos/eagletmt/neco-ghc/issues/44","repository_url":"https://api.github.com/repos/eagletmt/neco-ghc","labels_url":"https://api.github.com/repos/eagletmt/neco-ghc/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/eagletmt/neco-ghc/issues/44/comments","events_url":"https://api.github.com/repos/eagletmt/neco-ghc/issues/44/events","html_url":"https://github.com/eagletmt/neco-ghc/issues/44","id":59327733,"number":44,"title":"Completion isn't working for local functions or modules","user":{"login":"wedens","id":697162,"avatar_url":"https://avatars.githubusercontent.com/u/697162?v=3","gravatar_id":"","url":"https://api.github.com/users/wedens","html_url":"https://github.com/wedens","followers_url":"https://api.github.com/users/wedens/followers","following_url":"https://api.github.com/users/wedens/following{/other_user}","gists_url":"https://api.github.com/users/wedens/gists{/gist_id}","starred_url":"https://api.github.com/users/wedens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wedens/subscriptions","organizations_url":"https://api.github.com/users/wedens/orgs","repos_url":"https://api.github.com/users/wedens/repos","events_url":"https://api.github.com/users/wedens/events{/privacy}","received_events_url":"https://api.github.com/users/wedens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-28T06:04:35Z","updated_at":"2016-05-11T13:00:50Z","closed_at":"2015-10-28T13:47:10Z","body":"Completion works only for system-wide and cabal libraries. If I create some very simple source file it will not complete functions from this file, or any other module created by me.\r\n`NecoGhcDiagnostics` output:\r\n```\r\nCurrent filetype: haskell\r\nghc-mod is executable: 1\r\nomnifunc: necoghc#omnifunc\r\nneocomplete.vim: 0\r\nneocomplcache.vim: 0\r\nYouCompleteMe: 2\r\nvimproc.vim: 800\r\nghc-mod: 5.2.1.2\r\nImported modules: Prelude, MyModule\r\nNumber of symbols in Prelude: 235\r\n```"},"comment":{"url":"https://api.github.com/repos/eagletmt/neco-ghc/issues/comments/218451836","html_url":"https://github.com/eagletmt/neco-ghc/issues/44#issuecomment-218451836","issue_url":"https://api.github.com/repos/eagletmt/neco-ghc/issues/44","id":218451836,"user":{"login":"hasufell","id":1241845,"avatar_url":"https://avatars.githubusercontent.com/u/1241845?v=3","gravatar_id":"","url":"https://api.github.com/users/hasufell","html_url":"https://github.com/hasufell","followers_url":"https://api.github.com/users/hasufell/followers","following_url":"https://api.github.com/users/hasufell/following{/other_user}","gists_url":"https://api.github.com/users/hasufell/gists{/gist_id}","starred_url":"https://api.github.com/users/hasufell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasufell/subscriptions","organizations_url":"https://api.github.com/users/hasufell/orgs","repos_url":"https://api.github.com/users/hasufell/repos","events_url":"https://api.github.com/users/hasufell/events{/privacy}","received_events_url":"https://api.github.com/users/hasufell/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T13:00:50Z","updated_at":"2016-05-11T13:00:50Z","body":"> Completion works only for system-wide and cabal libraries.\r\n\r\nFrom my tests, it works fine if you are in a cabal sandbox and did `cabal install` to install the project into the projects sandbox."}}