Thanks. can some people test this? @bogdan-barbu @dzwdz ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Compound literals and struct initializers in .c files are highlighted as errors, when they are inside parenthesis.
Currently in .c files curly brackets inside parenthesis seem to be categorized as
cErrInParen in general.
Allow curly braces inside parenthesis and add new syntax group cCompoundLiteral so that compound literals are not inside cBadBlock group.
I did not add a syntax group for struct initializers though, as this was not my primary focus.
So struct initializers are still inside cBadBlock group.
But as this group is transparent it will not be highlighted as an error.
The example code in the issue (that is included as a test in the PR) will not have a highlighted error anymore.
closes: #18709
https://github.com/vim/vim/pull/20451
(5 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()