Skip to content

Commit

Permalink
treesitter: correctly recognize shebang (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm authored Mar 15, 2024
1 parent be121f7 commit 2c70e05
Show file tree
Hide file tree
Showing 4 changed files with 7,524 additions and 7,371 deletions.
1 change: 1 addition & 0 deletions tree_sitter_v/grammar.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ module.exports = grammar({
/\/\/[^\n\r]*/,
/\/\*(?:[^\/][^\*]+\/\*+[^\/][^\*]+)+(?:[^\*][^\/]+\*+\/[^\*][^\/]+)+\//,
/\/\*[^\*]*\*\//,
/\#\!.*/,
),
),

Expand Down
4 changes: 4 additions & 0 deletions tree_sitter_v/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 2c70e05

Please sign in to comment.