mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #191] [MERGED] feat(core): Code Highlighting #1140
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/191
Author: @kommander
Created: 9/30/2025
Status: ✅ Merged
Merged: 9/30/2025
Merged by: @kommander
Base:
main← Head:code-highlighting📝 Commits (10+)
463fd95make a messcc47266move query fetching to workerf7c8f4econfig init timeout36397eestash588bd7ftest cachingcb05587cachec4978d3highlightOnce89c5ee5treesitter to styled text7ee8487refactora5c3bfbre-use parser📊 Changes
55 files changed (+6379 additions, -493 deletions)
View changed files
📝
bun.lock(+3 -0)📝
package.json(+1 -1)📝
packages/core/README.md(+5 -1)📝
packages/core/docs/env-vars.md(+14 -0)➕
packages/core/docs/tree-sitter.md(+313 -0)📝
packages/core/package.json(+1 -0)📝
packages/core/src/examples/framebuffer-demo.ts(+0 -2)➕
packages/core/src/examples/tree-sitter-syntax-highlighting-demo.ts(+183 -0)➕
packages/core/src/lib/data-paths.test.ts(+133 -0)➕
packages/core/src/lib/data-paths.ts(+109 -0)➕
packages/core/src/lib/debounce.ts(+106 -0)📝
packages/core/src/lib/env.test.ts(+28 -4)📝
packages/core/src/lib/env.ts(+11 -3)📝
packages/core/src/lib/hast-styled-text.ts(+4 -71)📝
packages/core/src/lib/index.ts(+4 -0)➕
packages/core/src/lib/queue.ts(+65 -0)📝
packages/core/src/lib/singleton.ts(+14 -0)📝
packages/core/src/lib/styled-text.ts(+0 -70)➕
packages/core/src/lib/syntax-style.test.ts(+437 -0)➕
packages/core/src/lib/syntax-style.ts(+140 -0)...and 35 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.