Skip to content

Commit

Permalink
Fix variables
Browse files Browse the repository at this point in the history
This commit fixes remaining syntax test failures.
  • Loading branch information
deathaxe committed Feb 28, 2024
1 parent c2fe7c4 commit 02ada1c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Syntaxes/SCSS.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ variables:

ident_start: (?:{{nmstart}}|@+{)

selector_begin: (?={{selector_start}}|%|&|#{)
property_or_selector_begin: (?={{ident_begin}}|{{selector_start}})

selector_start: '[[:alpha:].:#%&*\[{{combinator_char}}]'
selector_end: (?=[;{}])

tag_name_begin: (?=[[:alpha:]]|@+{)

property_or_selector_begin: (?={{selector_start}}|[-&]|{{ident_start}})
nested_selector_start: '[%.:#&*\[{{combinator_char}}]'

###############################################################################

contexts:
Expand Down

0 comments on commit 02ada1c

Please sign in to comment.