From c1158cafc9f201e837b19ad849eda2b1a328f9d3 Mon Sep 17 00:00:00 2001 From: Paul Grant Date: Tue, 2 Feb 2021 10:41:45 -0500 Subject: [PATCH] Fix downstream grammar issue By saying a tag name can't have a space after the `:`, it fixes an issue in SASS where the words `content`, `cursor`, `filter`, `font`, and `mask` are marked as tag names. --- grammars/css.cson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammars/css.cson b/grammars/css.cson index 40bc180..8c5dab9 100644 --- a/grammars/css.cson +++ b/grammars/css.cson @@ -2047,7 +2047,7 @@ | mrow|ms|mscarries|mscarry|msgroup|msline|mspace|msqrt|msrow|mstack|mstyle|msub|msubsup | msup|mtable|mtd|mtext|mtr|munder|munderover|semantics ) - (?=[+~>\\s,.\\#|){:\\[]|/\\*|$) + (?=[+~>\\s,.\\#|){\\[]|:[^//s]|/\\*|$) ''' 'name': 'entity.name.tag.css' 'unicode-range':