[PR #317] [MERGED] fix: Normalize file path for tree-sitter language loading #1228

Closed
opened 2026-03-14 09:25:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/317
Author: @Hona
Created: 11/15/2025
Status: Merged
Merged: 11/15/2025
Merged by: @kommander

Base: mainHead: fix/windows-highlighting


📝 Commits (3)

  • 6554578 fix: Normalize file path for tree-sitter language loading
  • b0f51b0 Update packages/core/src/lib/tree-sitter/parser.worker.ts
  • 7fdfd8b fix: copilot suggestion

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 packages/core/src/lib/tree-sitter/parser.worker.ts (+5 -2)

📄 Description

Fixes highlighting and markdown formatting for opencode on windows

image

Replaces backslashes with forward slashes in file paths to ensure compatibility with tree-sitter on Windows systems.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/317 **Author:** [@Hona](https://github.com/Hona) **Created:** 11/15/2025 **Status:** ✅ Merged **Merged:** 11/15/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `fix/windows-highlighting` --- ### 📝 Commits (3) - [`6554578`](https://github.com/anomalyco/opentui/commit/65545780e48c7c39d48d5b6ba3b4be9e3573cd88) fix: Normalize file path for tree-sitter language loading - [`b0f51b0`](https://github.com/anomalyco/opentui/commit/b0f51b022310913a41d8ca92eaf17237f71e8521) Update packages/core/src/lib/tree-sitter/parser.worker.ts - [`7fdfd8b`](https://github.com/anomalyco/opentui/commit/7fdfd8ba16127b457a2104335dd1153dccc70384) fix: copilot suggestion ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/lib/tree-sitter/parser.worker.ts` (+5 -2) </details> ### 📄 Description Fixes highlighting and markdown formatting for opencode on windows <img width="1088" height="795" alt="image" src="https://github.com/user-attachments/assets/c0511a14-0661-420f-8d64-aeec88ae1222" /> Replaces backslashes with forward slashes in file paths to ensure compatibility with tree-sitter on Windows systems. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:25:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#1228
No description provided.