Skip to content

Commit

Permalink
fix: raw values can't start with whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
gerblesh committed Dec 30, 2024
1 parent f695f8b commit 1e467a0
Show file tree
Hide file tree
Showing 3 changed files with 1,394 additions and 1,449 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = grammar({
seq('"', /[^"]*/, '"'),
seq("'", /[^']*/, "'"),
seq(
/[^#]/,
/[^#\s]/,
$._raw_value,
)
)),
Expand Down
23 changes: 16 additions & 7 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1e467a0

Please sign in to comment.