No description
  • JavaScript 52.3%
  • Nix 41.3%
  • Tree-sitter Query 6.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
mib cb5876ec30 allow whitespace before newlines
otherwise e.g. the following would fail (quotes to show whitespace),
"hello "
"this one seems to break!"
2026-09-03 01:32:14 +02:00
queries highlight different priorities differently 2026-08-30 17:10:19 +02:00
src allow whitespace before newlines 2026-09-03 01:32:14 +02:00
.editorconfig initial commit 2026-08-25 21:39:49 +02:00
.gitattributes initial commit 2026-08-25 21:39:49 +02:00
.gitignore initial commit 2026-08-25 21:39:49 +02:00
flake.lock initial commit 2026-08-25 21:39:49 +02:00
flake.nix expose grammar as nix package 2026-08-30 12:46:27 +02:00
grammar.js allow whitespace before newlines 2026-09-03 01:32:14 +02:00
package.json initial commit 2026-08-25 21:39:49 +02:00
readme.md add readme 2026-08-30 11:36:43 +02:00
tree-sitter.json remove irrelevant injection settings 2026-08-30 14:51:59 +02:00

tree-sitter-todotxt

a (mostly) spec-complaint tree-sitter parser for the todo.txt format.

the specification is intentionally broken in a few places:

  • colons are permitted in the values of key:value pairs. this is to allow links and similar
  • 5 digits for the year are permitted in dates. future proofing and all that... (but mainly the Holocene calendar)