MCPcopy Index your code
hub / github.com/codeaashu/claude-code / fromIndent

Function fromIndent

src/vim/transitions.ts:450–459  ·  view source on GitHub ↗
(
  state: { type: 'indent'; dir: '>' | '<'; count: number },
  input: string,
  ctx: TransitionContext,
)

Source from the content-addressed store, hash-verified

448}
449
450function fromIndent(
451 state: { type: 'indent'; dir: '>' | '<'; count: number },
452 input: string,
453 ctx: TransitionContext,
454): TransitionResult {
455 if (input === state.dir) {
456 return { execute: () => executeIndent(state.dir, state.count, ctx) }
457 }
458 return { next: { type: 'idle' } }
459}
460
461// ============================================================================
462// Helper functions for special commands

Callers 1

transitionFunction · 0.85

Calls 1

executeIndentFunction · 0.85

Tested by

no test coverage detected