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

Function execAction

src/actions/languages/python/motion.ts:210–219  ·  view source on GitHub ↗
(
    position: Position,
    vimState: VimState,
  )

Source from the content-addressed store, hash-verified

208 }
209
210 public override async execAction(
211 position: Position,
212 vimState: VimState,
213 ): Promise<Position | IMovement> {
214 const document = vimState.document;
215 return (
216 new PythonDocument(document).find(this.type, this.direction, this.edge, position) ??
217 failedMovement(vimState)
218 );
219 }
220}
221
222@RegisterAction

Callers

nothing calls this directly

Calls 2

failedMovementFunction · 0.90
findMethod · 0.80

Tested by

no test coverage detected