Skip to content

feat: add Svelte and Vue support#158

Merged
georgeh0 merged 1 commit into
mainfrom
g/svelte-vue-support
May 5, 2026
Merged

feat: add Svelte and Vue support#158
georgeh0 merged 1 commit into
mainfrom
g/svelte-vue-support

Conversation

@georgeh0
Copy link
Copy Markdown
Member

@georgeh0 georgeh0 commented May 5, 2026

Summary

  • Add **/*.svelte and **/*.vue to the default include patterns so .svelte / .vue files are picked up out of the box and chunked syntax-aware via the new tree-sitter parsers in cocoindex 1.0.3 (cocoindex-io/cocoindex#1937).
  • Document svelte and vue in the Supported Languages table.
  • Bump the cocoindex dev-group floor to >=1.0.3 (the version that ships the parsers); lockfile follows.

Test plan

  • CI (mypy, ruff, pytest).
  • Locally verified: detect_code_language(filename="App.svelte") == "svelte", RecursiveSplitter produces multiple chunks for both .svelte and .vue snippets.

Wire up the new Svelte and Vue tree-sitter languages from cocoindex 1.0.3
(cocoindex-io/cocoindex#1937) so `.svelte` and `.vue` files are picked up
by the default include patterns and chunked syntax-aware.

- Add `**/*.svelte` and `**/*.vue` to DEFAULT_INCLUDED_PATTERNS
- Document svelte/vue in the Supported Languages table
- Bump cocoindex dev-group floor to >=1.0.3 (the version that adds the
  tree-sitter parsers); lockfile follows
@georgeh0 georgeh0 merged commit 9e9e58a into main May 5, 2026
4 checks passed
@georgeh0 georgeh0 deleted the g/svelte-vue-support branch May 5, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant