vim-code-dark icon indicating copy to clipboard operation
vim-code-dark copied to clipboard

Error on centos7 /vim 74

Open xZanon opened this issue 2 years ago • 1 comments

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

xZanon avatar Jul 28 '22 16:07 xZanon

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?

saccarosium avatar Jul 31 '22 17:07 saccarosium

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.

Thermal-Shock avatar Oct 31 '22 14:10 Thermal-Shock

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'

xZanon avatar Oct 31 '22 16:10 xZanon

@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? 🤣

JasonSFuller avatar Dec 08 '22 23:12 JasonSFuller

Sorry for the delay, everyone! I finally merged it! Thanks a lot!

tomasiser avatar Dec 16 '22 14:12 tomasiser