Repository navigation
Releases
Releases · nertzy/tree-sitter-bats
v0.2.0
Added
- Added
queries/neovim/with highlight, fold, indent, injection, and locals queries for nvim-treesitter, each extending its Bash queries, and a README section on using the parser in Neovim. - Added a CI check of
queries/with ts_query_ls, which validates the patterns against the parser and enforces its formatting.queries/highlights.scmis reformatted to match, with no change to its captures.
v0.1.0
Added
- Added the repository scaffold generated by
tree-sitter init, with C, Go, Node.js, Python, Rust, and Swift bindings. - Added
test_blocknodes for Bats@testdefinitions, withname(atest_name) andbodyfields, by extending tree-sitter-bash 0.25.1. - Added CI that parses the
.batsfiles of public Bats suites, with known failures listed inscript/known-failures.txt. - Added
test_marker_commentnodes for the# @testcomment that makes Bats run a function as a test, as inname() { # @test. - Added a tag-triggered release workflow that publishes to npm, crates.io, and PyPI through trusted publishing and creates the GitHub Release; see
RELEASING.md. - Added
queries/highlights.scmfor Bash and Bats syntax, with highlight tests and a check that no node gets two highlight captures.
Fixed
- Fixed
[ ... ]tests merging with later redirected commands and a following[ ... ]into onetest_command(tree-sitter-bash#316). - Fixed herestrings after a file or heredoc redirect, as in
cat > file <<<"text", producing anERROR(tree-sitter-bash#232).