Skip to content

Commit

Permalink
Change false positive to token
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Jan 27, 2024
1 parent f3bcea1 commit fb30f6a
Show file tree
Hide file tree
Showing 4 changed files with 505 additions and 589 deletions.
6 changes: 1 addition & 5 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ module.exports = grammar({
'}',
),

_inline_tag_false_positive: _ => prec.left(1, seq(
/{/,
/[^@}]+/,
optional(/}/),
)),
_inline_tag_false_positive: _ => token(prec.left(1, /\{[^@}]+\}?/)),

tag_name_with_argument: _ => token(choice(
'@access',
Expand Down
32 changes: 7 additions & 25 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 fb30f6a

Please sign in to comment.