This is an experimental Nim grammar, not a complete implementation. Procedure
and function bodies track indentation, but constructs such as object types,
control flow, and nested blocks are not yet implemented; sample.nim does not
parse cleanly. The Zed Nim extension uses a different grammar.
Run tree-sitter generate, tree-sitter test, and cargo test when changing
the grammar. The Rust binding compiles both src/parser.c and src/scanner.c.