Skip to content

fix: async syntax colorization#124

Merged
stream-pipe merged 1 commit intocoze-dev:mainfrom
hanchayi:fix/async-colorization
Dec 19, 2025
Merged

fix: async syntax colorization#124
stream-pipe merged 1 commit intocoze-dev:mainfrom
hanchayi:fix/async-colorization

Conversation

@hanchayi
Copy link
Copy Markdown
Contributor

@hanchayi hanchayi commented Dec 19, 2025

修改点

  • 修复异步加载语言包首次进入注释中括号颜色

现象

  • 首次进入时 注释中的 {} 始终有颜色,变更或者选中才变成注释的颜色

20251219182040_rec_

根因

  • 由于语言包是异步加载的,首次进入syntaxTree还没有所以没法根据语法树中的类型去屏蔽注释颜色

@stream-pipe stream-pipe changed the title fix: async sytax colorization fix: async syntax colorization Dec 19, 2025
@hanchayi hanchayi force-pushed the fix/async-colorization branch from 24e8a53 to a7cd9fe Compare December 19, 2025 10:04
@hanchayi hanchayi force-pushed the fix/async-colorization branch from a7cd9fe to 3466947 Compare December 19, 2025 10:12
@stream-pipe stream-pipe added this pull request to the merge queue Dec 19, 2025
Merged via the queue into coze-dev:main with commit 95bc0a0 Dec 19, 2025
4 checks passed
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.

2 participants