dthree / dthree/vorpal

Support the init method of a mode command preventing the mode being entered

Open
#324 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.6k
Forks
278
PR merge metrics
No merged PRs in 30d

Description

In the case where my init method on a mode command performs some checks to determine whether entering the mode should be allowed, it doesn't appear to be possible to prevent the mode being entered without calling the private exitMode method.

Is this possible? If not, consider this a feature request. 😄

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.