Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: register chroma style once #156

Merged
merged 1 commit into from
Jul 27, 2022
Merged

fix: register chroma style once #156

merged 1 commit into from
Jul 27, 2022

Commits on Jul 27, 2022

  1. fix: register chroma style once

    don't register chroma style if it's already registered
    
    this could cause a "concurrent map writes" fatal error when used in a
    concurrent setting like a bubbletea wish app. use a package-wide mutex
    to protect registering a new style.
    aymanbagabas committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    4d67f2a View commit details
    Browse the repository at this point in the history