Skip to content

Commit

Permalink
fix: do not scan block comments in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed May 21, 2024
1 parent edfc928 commit d37b8f2
Show file tree
Hide file tree
Showing 4 changed files with 301,854 additions and 282,781 deletions.
1 change: 1 addition & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ module.exports = grammar({
$.float,
$.block_comment,
'{',
'"',
],

extras: $ => [
Expand Down
4 changes: 4 additions & 0 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 d37b8f2

Please sign in to comment.