Tried the same in v9.1.0295 -- works both with `:set re=1` and `:set re=0`
On Wednesday, April 10, 2024 at 5:22:39 PM UTC+10 Maxim Kim wrote:
>
> > And can you also check if `:set re=1` helps?
>
> I did `:set re=1` and got same error
>
> [image: Screenshot from 2024-04-10 17-22-04.png]
> On Wednesday, April 10, 2024 at 4:44:42 PM UTC+10 Christian Brabandt wrote:
>
>>
>> On Mi, 10 Apr 2024, Tony Mechelynck wrote:
>>
>> > Suddenly when opening a CSS file in Vim (or when opening an HTML file,
>> > because HTML syntax invokes CSS syntax), I see a huge lot of errors.
>> > This is at patchlevel 9.1.296 or earlier. I didn't see it a few days
>> > ago but I'm not sure at which changeset it appeared.
>> >
>> > I'm copying below what I saw while opening one HTLM file :
>> >
>> > "pub/public/nb_au/nbau.contents.html"
>> >
>> > "pub/public/nb_au/nbau.contents.html" 26L, 799B
>> > Error detected while processing BufRead Autocommands for
>> > "*.html"..function dist#ft#FThtml[13]..FileType Autocommands for
>> > "*"..Syntax Autocommands for "*"..function <SNR>11_SynSet[25]..script
>> >
>> /usr/local/share/vim/vim91/syntax/html.vim[308]../usr/local/share/vim/vim91/syntax/css.vim:
>>
>>
>> > line 129:
>> > E409: Unknown group name:
>> > cssValue.*,cssFunction,cssColor,cssStringQ,cssStringQQ oneline
>> > E475: Invalid argument: cssMathGroup contained
>> > matchgroup=cssMathParens start="(" end=")"
>> > containedin=cssFunction,cssMathGroup
>> >
>> contains=cssCustomProp,cssValue.*,cssFunction,cssColor,cssStringQ,cssStringQQ
>>
>>
>> > oneline
>> > line 130:
>> > E409: Unknown group name:
>> > cssValue.*,cssFunction,cssURL,cssColor,cssStringQ,cssStringQQ oneline
>> > E475: Invalid argument: cssFunction contained
>> > matchgroup=cssFunctionName start="\<\(var\|calc\)\s*(" end=")"
>> >
>> contains=cssCustomProp,cssValue.*,cssFunction,cssURL,cssColor,cssStringQ,cssStringQQ
>>
>>
>> > oneline
>> > line 453:
>> > E409: Unknown group name:
>> >
>> css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssCustomProp,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,cssVendor,cssDefinition,cssHacks,cssNoise
>>
>>
>> > fold
>> > E475: Invalid argument: cssDefinition transparent matchgroup=cssBraces
>> > start='{' end='}'
>> >
>> contains=cssTagName,cssAttributeSelector,cssClassName,cssIdentifier,cssAtRule,cssAttrRegion,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssCustomProp,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,cssVendor,cssDefinition,cssHacks,cssNoise
>>
>>
>> > fold
>> > line 498:
>> > E409: Unknown group name:
>> >
>> css.*Attr,cssColor,cssImportant,cssValue.*,cssFunction,cssString.*,cssURL,cssComment,cssUnicodeEscape,cssVendor,cssError,cssAttrComma,cssNoise
>>
>>
>> > E475: Invalid argument: cssAttrRegion start=/:/
>> > end=/\ze\(;\|)\|}\|{\)/ contained
>> >
>> contains=cssPseudoClassId,css.*Attr,cssColor,cssImportant,cssValue.*,cssFunction,cssString.*,cssURL,cssComment,cssUnicodeEscape,cssVendor,cssError,cssAttrComma,cssNoise
>>
>>
>> > line 502:
>> > E409: Unknown group name:
>> >
>> css.*Prop,css.*Attr,cssColor,cssImportant,cssValue.*,cssFunction,cssString.*,cssURL,cssComment,cssUnicodeEscape,cssVendor,cssError,cssAttrComma,cssNoise
>>
>>
>> > E475: Invalid argument: cssAttrRegion start=/transition\s*:/
>> > end=/\ze\(;\|)\|}\)/ contained
>> >
>> contains=css.*Prop,css.*Attr,cssColor,cssImportant,cssValue.*,cssFunction,cssString.*,cssURL,cssComment,cssUnicodeEscape,cssVendor,cssError,cssAttrComma,cssNoise
>>
>>
>> > line 527:
>> > E409: Unknown group name:
>> > css.*Prop,cssValue.*,cssVendor,cssAtKeyword,cssComment
>> > nextgroup=cssDefinition
>> > E475: Invalid argument: cssAtRule start=/@supports\>/ end=/\ze{/
>> > skipwhite skipnl
>> >
>> contains=cssAtRuleLogical,cssAttrRegion,css.*Prop,cssValue.*,cssVendor,cssAtKeyword,cssComment
>>
>>
>> > nextgroup=cssDefinition
>> > Error detected while processing BufRead Autocommands for
>> > "*.html"..function dist#ft#FThtml[13]..FileType Autocommands for
>> > "*"..Syntax Autocommands for "*"..function <SNR>11_SynSet[25]..script
>> > /usr/local/share/vim/vim91/syntax/html.vim:
>> > line 312:
>> > E409: Unknown group name:
>> >
>> css.*Attr,css.*Prop,cssComment,cssLength,cssColor,cssURL,cssImportant,cssError,cssString,@htmlPreproc
>>
>>
>> > E475: Invalid argument: htmlCssDefinition matchgroup=htmlArg
>> > start='style="' keepend matchgroup=htmlString end='"'
>> >
>> contains=css.*Attr,css.*Prop,cssComment,cssLength,cssColor,cssURL,cssImportant,cssError,cssString,@htmlPreproc
>>
>>
>>
>> Hm, may it be related to my patch: https://github.com/vim/vim/pull/14433
>>
>> It also seems to break on FreeBSD and MacOS CI, so I am planning to back
>> it out later today.
>>
>> Can you please check v9.1.295? And can you also check if `:set re=1`
>> helps?
>>
>> If this is indeed that patch causing the issue, can you please share the
>> html file?
>>
>> Thanks,
>> Christian
>> --
>> Because the wine remembers.
>>
>
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/64d6691a-ad00-42fa-8510-a236b71d9c1fn%40googlegroups.com.