import { test_alloc_fail } from "https://deno.land/x/denops_std@v3.9.0/function/vim/mod.ts";
This is for testing: If the memory allocation with {id} is called, then decrement {countdown}, and when it reaches zero let memory allocation fail {repeat} times. When {repeat} is smaller than one it fails one time. Can also be used as a |method|: GetAllocId()->test_alloc_fail()