Windows 9.0.1341 colorscheme or syntax bug?

17 views
Skip to first unread message

Chainsaw

unread,
Feb 23, 2023, 11:36:19 AM2/23/23
to vim...@googlegroups.com
Hello,

I reported this on vim/colorschemes github last night, but it may be a
problem with Vim syntax files starting with 9.0.1341.

For .cmd and .bat files, the latest colorschemes (02-22-2023) with the
latest Windows nightly build of Vim, now displays any lines starting
with :: (two colons used for comment lines) using a white foreground and
red background.

Thanks

Ken Takata

unread,
Feb 24, 2023, 2:10:17 AM2/24/23
to vim_use
Hi Chainsaw,

It has been changed recently. If you want to use :: as comment, add the following line in your .vimrc:
let dosbatch_colons_comment = 1

See `:help ft-dosbatch-syntax` for detail.

Regards,
Ken Takata

2023年2月24日金曜日 1:36:19 UTC+9 Chainsaw:

Chainsaw

unread,
Feb 24, 2023, 8:22:36 AM2/24/23
to vim...@googlegroups.com
Ken,

Thank you for the detailed reply.
Reply all
Reply to author
Forward
0 new messages