func initCommentStyles()

in pkg/comments/config.go [80:94]


func initCommentStyles() {
	content, err := assets.Asset("styles.yaml")
	if err != nil {
		panic(fmt.Errorf("should never happen: %w", err))
	}

	var styles []CommentStyle
	if err = yaml.Unmarshal(content, &styles); err != nil {
		panic(err)
	}

	for _, style := range styles {
		comments[style.ID] = style
	}
}