Fix a few errors

This commit is contained in:
baabelfish 2016-02-13 14:11:40 +02:00
commit 26aa6a5cbb
6 changed files with 37 additions and 20 deletions

View file

@ -1,10 +1,8 @@
scriptencoding utf-8
if exists("s:loaded")
finish
endif
let s:loaded = 1
let s:save_cpo = &cpo
set cpo&vim
function! modules#FindImportLocation()
@ -83,3 +81,7 @@ endfunction
function! modules#FindGlobalImports()
return modules#ImportMap(globpath(g:nvim_nim_deps_nim, "**/*.nim", 0, 1))
endfunction
let &cpo = s:save_cpo
unlet s:save_cpo