Decode paths for aliased namespaces.

This commit is contained in:
Jacek Lach 2013-01-25 15:09:04 +00:00
parent 53201c89de
commit 511a123421

View File

@ -821,9 +821,9 @@ function! foreplay#findfile(path) abort
endif endif
let response = s:eval(printf(cmd, '"'.escape(path, '"').'"'), options) 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 endif
let result = s:decode_url(result)
if result ==# '' if result ==# ''
return foreplay#findresource(path) return foreplay#findresource(path)
else else