Decode paths for aliased namespaces.

This commit is contained in:
Jacek Lach 2013-01-25 15:09:04 +00:00
parent 53201c89de
commit 511a123421
1 changed files with 2 additions and 2 deletions

View File

@ -821,9 +821,9 @@ function! foreplay#findfile(path) abort
endif
let response = s:eval(printf(cmd, '"'.escape(path, '"').'"'), options)
let result = s:decode_url(get(split(get(response, 'value', ''), "\n"), 0, ''))
let result = get(split(get(response, 'value', ''), "\n"), 0, '')
endif
let result = s:decode_url(result)
if result ==# ''
return foreplay#findresource(path)
else