vim-code-dark
vim-code-dark copied to clipboard
Error on centos7 /vim 74
Hi,
I am getting error when i use latest codedark with vim 74 on centos 7
Error detected while processing function <SNR>7_hi: line 8: E418: Illegal value: strikethrough E418: Illegal value: strikethrough Press ENTER or type command to continue
What terminal are you using? By looking at the error, it seems that your terminal doesn't support strikethrough.
Can you also provide the output of vim --version
?
I'm currently using Vi IMproved 7.4 on CentOS 6.10. Unfortunately I cannot upgrade as it is a legacy system.
Is there a way to suppress this error when the terminal does not support it?
Nevermind. Actually just need to comment out the line referring the strikethrough in the codedark.vim by preceding it with a single double quote (").
All the best.
centos@p35:[~]: uname -a
Linux p35.****.lan 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
centos@p35:[~]: vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 15 2020 16:44:08)
Included patches: 1-207, 209-629 .....
and i got to the same solution as [Thermal-Shock], but preffer to replace 'strikethrough' with 'none'
@tomasiser, PR #108 (thanks, @saccarosium!) fixed this issue for me on a RHEL 7.9 host. Any barriers to merging it? Or is it just a lack of round tuits? 🤣
Sorry for the delay, everyone! I finally merged it! Thanks a lot!