We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89937c6 commit dcc9d16Copy full SHA for dcc9d16
1 file changed
autoload/webapi/atom.vim
@@ -68,7 +68,7 @@ for s:name in ['author', 'link', 'category', 'feed', 'entry']
68
endfor
69
function s:entry_template.setContentFromFile(file) dict
70
let quote = &shellxquote == '"' ? "'" : '"'
71
- let bits = substitute(s:system("xxd -ps ".quote.file.quote), "[ \n\r]", '', 'g')
+ let bits = substitute(s:system("xxd -ps ".quote.a:file.quote), "[ \n\r]", '', 'g')
72
let self['mode'] = "base64"
73
let self['content'] = webapi#base64#b64encodebin(bits)
74
endfunction
0 commit comments