tree-sitter / tree-sitter-css

CSS grammar for Tree-sitter
MIT License
85 stars 34 forks source link

Space after colon breaks parser #43

Closed mskelton closed 9 months ago

mskelton commented 9 months ago

The recent changes to the scanner with handling of colons for pseudo classes I believe broke parsing in certain circumstances including this example in the atom.io.css example file.

@media screen and (min-width: 0 0) {
    .tooltipped-multiline: after {
    width: 250px;
}
}.tooltipped-sticky:before, .tooltipped-sticky:after {
image
amaanq commented 9 months ago

fixed on master, and I created a release (0.20.0)