Tuesday, February 13, 2024

Syntax highlighting issue with blocks in .cmd and .bat files

Hello,

Hoping an active Vim developer team member can help.

For gVim win32 64-bit nightly builds:

I am suddenly seeing a syntax highlighting issue with blocks in .cmd and
.bat files. I think it may be from an update that occurred between
02-03-2024 and 02-11-2024.

I am seeing several right parenthesis ')' highlighted in red as if the
block does not have a matching '(', but the blocks are closed. Too many
unique examples of code to nail down, but seems it may be related to the
keyword 'echo' (but not always). Below is a simple example that will
cause ')' to highlight in red.

if [%1] == [/echo] (
set "aaa=ok"
)

Thanks,
Chainsaw

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/01e926ab-2101-4adc-ad9d-ec0f57b2bfe9%40fourbarlinkage.net.

No comments: