Skip to main content

SCOPE_REPO

Static SCOPE_REPO 

Source
pub static SCOPE_REPO: LazyLock<Mutex<ScopeRepository>>
👎Deprecated since 5.3.0:

Deprecated in anticipation of removal in the next semver-breaking release under the justification that it’s incredibly niche functionality to expose. If you rely on this functionality then please express your particular use-case in the github issue: https://github.com/trishume/syntect/issues/575

Expand description

The global scope repo, exposed in case you want to minimize locking and unlocking.

Ths shouldn’t be necessary for you to use. See the ScopeRepository docs.