MCPcopy
hub / github.com/VSCodeVim/Vim / forceStopRecursiveRemap

Function forceStopRecursiveRemap

extensionBase.ts:599–606  ·  view source on GitHub ↗

* @returns true if there was a remap being executed to stop

(mh: ModeHandler)

Source from the content-addressed store, hash-verified

597 * @returns true if there was a remap being executed to stop
598 */
599async function forceStopRecursiveRemap(mh: ModeHandler): Promise<boolean> {
600 if (mh.remapState.isCurrentlyPerformingRecursiveRemapping) {
601 mh.remapState.forceStopRecursiveRemapping = true;
602 return true;
603 }
604
605 return false;
606}

Callers 1

activateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected