WIP
This commit is contained in:
parent
d66e56ed45
commit
c3f6a03349
9 changed files with 123 additions and 35 deletions
|
|
@ -83,5 +83,17 @@ function! modules#FindGlobalImports()
|
|||
endfunction
|
||||
|
||||
|
||||
function! modules#moduleLocation(str)
|
||||
if has_key(modules#FindGlobalImports(), a:str)
|
||||
return modules#FindGlobalImports()[a:str]
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
function! modules#isGlobalImport(str)
|
||||
return has_key(modules#FindGlobalImports(), a:str)
|
||||
endfunction
|
||||
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue