Following the instructions for a syntax to bat listed here, I get this error with CSS3.sublime-syntax:
% bat cache --build
No themes were found in '/Users/brenton/.config/bat/themes', using the default set
[bat error]: /Users/brenton/.config/bat/syntaxes/CSS3/CSS3.sublime-syntax: Error while compiling regex '(?=[\w.:#*-&])': Oniguruma error: empty range in char class
I believe this is because of the 3 occurrences of *-& appearing in a [] character class without being escaped, and thus being assumed to be [a-z] range notation.
Changing the occurrences to be *\-& allows Oniguruma to succeed and CSS3.sublime-syntax to be added to bat.
Following the instructions for a syntax to bat listed here, I get this error with CSS3.sublime-syntax:
I believe this is because of the 3 occurrences of
*-&
appearing in a[]
character class without being escaped, and thus being assumed to be[a-z]
range notation.Changing the occurrences to be
*\-&
allows Oniguruma to succeed and CSS3.sublime-syntax to be added to bat.