Fix fireplace#source

This commit is contained in:
Tim Pope 2014-01-14 16:28:21 -05:00
parent 4d93831925
commit c4f677ee64

View File

@ -939,7 +939,7 @@ function! fireplace#source(symbol) abort
\ ' (when-let [filepath (:file (meta v))]' . \ ' (when-let [filepath (:file (meta v))]' .
\ ' [filepath' . \ ' [filepath' .
\ ' (:line (meta v))]))' \ ' (:line (meta v))]))'
let result = fireplace#evalparse(cmd, options) let result = fireplace#evalparse(cmd)
if type(result) == type([]) if type(result) == type([])
return '+' . result[1] . ' ' . fireplace#findresource(result[0]) return '+' . result[1] . ' ' . fireplace#findresource(result[0])
else else