Skip to content

Commit

Permalink
Fix prec 11 to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
riodelphino committed Dec 19, 2024
1 parent ab1b882 commit f887798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tree-sitter-markdown/grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ module.exports = grammar({

...(common.EXTENSION_TASK_LIST ? {
task_list_marker_checked: $ => prec(1, /\[[xX]\]/),
task_list_marker_pending: $ => prec(11, /\[[-]\]/),
task_list_marker_pending: $ => prec(1, /\[[-]\]/),
task_list_marker_unchecked: $ => prec(1, /\[[ \t]\]/),
} : {}),

Expand Down
2 changes: 1 addition & 1 deletion tree-sitter-markdown/src/grammar.json

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

0 comments on commit f887798

Please sign in to comment.