Skip to content

Commit

Permalink
fixes FrigoEU#113 FrigoEU#122: s:getType: use current module
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Szamotulski committed Dec 14, 2017
1 parent 23bf302 commit 21b7eef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ftplugin/purescript_pscide.vim
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ function! s:getType(ident, filterModules, cb)
let [ident, qualifier] = purescript#ide#utils#splitQualifier(a:ident)
let imports = purescript#ide#import#listImports(currentModule, qualifier, a:filterModules ? ident : "")
let modules = map(copy(imports), {key, val -> val["module"]})
call add(modules, currentModule)
let filters = [purescript#ide#utils#modulesFilter(modules)]
call purescript#ide#utils#debug('PSCIDE s:getType currentModule: ' . currentModule, 3)

Expand Down

0 comments on commit 21b7eef

Please sign in to comment.