Skip to content

Commit

Permalink
Fix highlights!
Browse files Browse the repository at this point in the history
  • Loading branch information
Cypher1 committed Sep 29, 2024
1 parent 24d2252 commit 3b4fc88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
1 change: 0 additions & 1 deletion tree-sitter-tako/grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module.exports = grammar({
$.int_literal,
$.float_literal
),
comment: ($) => choice($.single_line_comment, $.nesting_comment),
_nesting_comment_contents: ($) => choice(
$.nesting_comment,
$._anything,
Expand Down
5 changes: 3 additions & 2 deletions tree-sitter-tako/queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
(int_literal) @number
(float_literal) @number
(hex_literal) @number
(comment) @comment
(definition name: (identifier) @function)
(nesting_comment) @comment
(single_line_comment) @comment
(definition) @function
13 changes: 0 additions & 13 deletions tree-sitter-tako/src/grammar.json

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

0 comments on commit 3b4fc88

Please sign in to comment.