Permalink
Browse files

Decode paths for aliased namespaces.

  • Loading branch information...
1 parent 53201c8 commit 511a1234211c882b7596e101478afc7a1870d84c @JacekLach JacekLach committed Jan 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugin/foreplay.vim
View
4 plugin/foreplay.vim
@@ -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

0 comments on commit 511a123

Please sign in to comment.