Hayden Hargreaves 1c2585b8d9 feat: Implemented syntax styles
Treesitter integration implemented! But tests are failing, need to
resolve that.
2026-04-07 22:34:42 -07:00
..
2026-04-07 19:37:27 -07:00
2026-04-07 10:23:25 -07:00
2026-04-07 11:40:34 -07:00
2026-04-07 10:23:25 -07:00
2026-04-07 10:23:25 -07:00
2026-04-07 10:23:25 -07:00
2026-04-07 20:21:41 -07:00
2026-04-07 22:34:42 -07:00

How to add more languages now (quick workflow)

  1. Add binding dependency in go.mod
  2. Add query file under internal/syntax/queries//highlights.scm
  3. Embed it in internal/syntax/query_assets.go
  4. Add one register(...) block in internal/syntax/registry.go
  5. Update internal/syntax/query_assets_test.go with another test

Where to get .scm files

nvim-treesitter