console: update chroma to v2

This commit is contained in:
Vincent Bernat
2025-08-24 13:44:11 +02:00
parent 357733a7e4
commit af745151fc
4 changed files with 21 additions and 13 deletions

View File

@@ -5,7 +5,7 @@
package console
import "github.com/alecthomas/chroma"
import "github.com/alecthomas/chroma/v2"
// Converted from https://github.com/dracula/pygments/pull/11
var draculaStyle = chroma.MustNewStyle("dracula", chroma.StyleEntries{