ITADN

[feat] adding syntax highlighting support for custom themes|[chore]up…

#329Pull Requestpedro-git-projects 创建于 2025-05-11
Bump Go toolchain • Update go directive from 1.22 → 1.23.0 • Set toolchain to go1.24.2 Upgrade core dependencies github.com/alecthomas/chroma/v2 → v2.14.0 github.com/alecthomas/repr → v0.4.0 github.com/charmbracelet/glamour → v0.10.0 github.com/charmbracelet/lipgloss → v1.1.1 github.com/muesli/termenv → v0.16.0 golang.org/x/crypto → v0.31.0 golang.org/x/net → v0.33.0 golang.org/x/sync → v0.13.0 golang.org/x/sys → v0.32.0 golang.org/x/term → v0.31.0 golang.org/x/text → v0.24.0 github.com/dlclark/regexp2 → v1.11.0 github.com/mattn/go-isatty → v0.0.20 github.com/mattn/go-runewidth → v0.0.16 github.com/gorilla/css → v1.0.1 github.com/microcosm-cc/bluemonday → v1.0.27 github.com/yuin/goldmark → v1.7.8 & goldmark-emoji → v1.0.5 (…and sync ~50 other indirect modules to their latest patch versions.) Refactor theme rendering logic (styles/styles.go) Consolidate SelectTheme branches into a single switch Always enable Chroma syntax highlighting Support loading JSON themes from file paths or URLs Tweak getDefaultTheme to pick a proper default style based on terminal settings
合并状态:未合并 关闭于 2025-05-11 0 条评论