feat(splitter): add Bash, CMake, and HCL tree-sitter support#1954
feat(splitter): add Bash, CMake, and HCL tree-sitter support#1954nuthalapativarun wants to merge 3 commits into
Conversation
|
Hi @nuthalapativarun , Thanks for contributing! Please run precommit checks and fix related issues. Thanks! |
|
Hi @georgeh0, ran all precommit checks locally — |
There's a precommit failure: https://github.com/cocoindex-io/cocoindex/actions/runs/25593066486/job/75469059311?pr=1954 In particular, |
b88e3b9 to
18f6304
Compare
29ad7a2 to
20b1d86
Compare
Summary
.sh,.bash), CMake (.cmake,.cmake.in), and HCL/Terraform (.hcl,.tf)tree-sitter-bash 0.25.1,tree-sitter-cmake 0.7.1,tree-sitter-hcl 1.1.0) target tree-sitter^0.25, matching the workspace versiondetect_code_languageassertions for the new extensionsRecursiveSplitterround-trip tests for each languageTest plan
cargo test -p cocoindex_ops_textuv run pytest python/tests/ops/test_text.py -vuv run ruff format --check .uv run ruff check .