SketchyVim icon indicating copy to clipboard operation
SketchyVim copied to clipboard

Having `" comments` in `svimrc` breaks the config

Open chrisgrieser opened this issue 1 year ago • 2 comments

I simply tried copypasting a lot of my config, and it seems that vimrc-style comments (" something) make the entire svimrc invalid.

chrisgrieser avatar Sep 07 '22 14:09 chrisgrieser

Yeah this is an issue in libvim I think, because what I am doing is simply this: https://github.com/FelixKratz/SketchyVim/blob/acda553401800f2cb8a929486f050a1891e07a6b/src/buffer.c#L8-L19 and handling the comments of the config file in svim directly feels a bit out of place so I may have to fix this in libvim: https://github.com/FelixKratz/libvim

FelixKratz avatar Sep 07 '22 15:09 FelixKratz

I see. At least until fixed upstream, the information that you cannot use comments in svimrc could be added to the readme? Would save others the trouble of figuring out what invalidates their config

chrisgrieser avatar Sep 07 '22 18:09 chrisgrieser