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

Function runWriteCommand

test/cmd_line/write.test.ts:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 * Helper to run the :w command
42 */
43 const runWriteCommand = async () => {
44 await new ExCommandLine('w', modeHandler.vimState.currentMode).run(modeHandler.vimState);
45 };
46
47 suite('Basic functionality', () => {
48 test('write (:w) - basic functionality', async () => {

Callers 1

write.test.tsFile · 0.85

Calls 1

runMethod · 0.65

Tested by

no test coverage detected