Repository navigation
v0.2.0
ts-inject.nvim v0.2.0
This release closes the 0.2 milestone and builds on v0.1.0 by introducing a generated-query framework, host-level rule overrides, and stronger runtime diagnostics while preserving 0.1 compatibility.
Changelog (v0.1.0 -> v0.2.0)
Core framework
- Added an internal generated-query framework with host builders and normalized rule/config plumbing.
- Kept static compatibility behavior for non-generated hosts.
- Added runtime query regeneration and lifecycle support through:
:TSInjectReload:TSInjectHealth
Generated hosts and migration
- Added generated-query runtime support for:
pythonjavascripttypescriptluaruby
- Migrated
luaandrubyfrom static runtime loading to generated runtime loading. - Archived generated-host static snapshots under
archive/scm-generated/as reference-only artifacts.
Rules and host behavior
- Added experimental host-level rule overrides for configurable generated hosts (
python,javascript,typescript):rules.<host>.builtin = falseto disable builtin rules for that hostrules.<host>.items = { ... }for user rules
- Kept backward compatibility with legacy list-form rules.
- Added optional per-host query mode selection:
query_mode.<host> = "generated" | "static"- default remains generated for generated-capable hosts
- static mode is supported as a legacy path and is not recommended for generated-capable hosts
Health/debug improvements
- Expanded
:TSInjectHealthreporting with:- generated vs static host classification
- generated query file presence
- builtin/user rule counts for generated hosts
- legacy-static host section
- normalized runtime warnings
- Kept
:TSInjectDebugas the per-buffer inspection workflow.
Shell injections
- Added built-in delimiter-driven shell heredoc injections (bash/sh):
SQL,PY,LUA,JS,TS
Tests and verification
- Expanded smoke coverage for
0.2behavior:TSInjectReloadTSInjectHealth- generated-host paths including Ruby/Lua migration
builtin=falseoverride behavior- legacy static mode behavior on generated-capable hosts
- Continued support for local validation via
tmp/verify-nvim-mini.shlanguage examples.
Documentation
- Updated
README.md,doc/ts-inject.txt, andPLAN.mdfor:- generated/static host split
- experimental rules model
query_modelegacy path0.2closeout checklist
Commits in this release
520e0c1feat: add 0.2 query generation framework5e5070fdocs: document 0.2 experimental featuresc62602cfeat: migrate lua to generated queries500c069docs: update generated host status for lua6f1ee7afeat: add ruby generated host and rule overrides8a5454fdocs: document ruby generation and builtin overrides34acd3cchore: archive static queries for generated hostsecf3db9docs: align 0.2 closeout guidanceb8d3b60feat: add legacy static query mode overrideea52801docs: document query_mode and legacy static path