vim-silicon
vim-silicon copied to clipboard
Padding not generating :(
Silicon works from terminal. Generates https://gyazo.com/ba12e6d4a824e29814262c5e817fc31d (Expected from vim as well)
vim-plug install worked, but when I generate an image, the image is cropped to the window.
Image generated from :Silicon
https://gyazo.com/27d269b5bc46746b72da8be913dcaf7a
It doesn't seem to be taking into account pad-vert
or pad-horiz
.
The values match the defaults specified in the readme.
I updated the values to ridiculous values for testing in my .vimrc
let g:silicon={}
let g:silicon["shadow-offset-x"]=400
let g:silicon["shadow-offset-y"]=300
let g:silicon["pad-vert"]=500
let g:silicon["pad-horiz"]=250
Same result as previous export using :Silicon
Thanks for the issue, I will investigate in the weekend
Strange, with those settings, I'm getting this output image:
What version are you running?
$ silicon --version
silicon 0.2.6
silicon 0.2.6
:(
I'm running it on Ubuntu 18.04 bionic [Ubuntu on Windows 10]
Are there any other dependencies or configs I can check?
Could you try run this in the terminal:
echo "int main() {}" | silicon --shadow-offset-x 400 --shadow-offset-y 300 --pad-vert 500 --pad-horiz 250 --language c --output test.png
And see how the output looks
Command ran: https://gyazo.com/d16ff94c3346b3f4402cf04cfb490cbd
Output: https://gyazo.com/6af149a78e92c403e371affaed492d44