Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.undoreload

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
variable op.undoreload
import { op } from "https://deno.land/x/ddc_vim@v3.8.0/deps.ts";
const { undoreload } = op;

Save the whole buffer for undo when reloading it. This applies to the ":e!" command and reloading for when the buffer changed outside of Vim. FileChangedShell The save only happens when this option is negative or when the number of lines is smaller than the value of this option. Set this option to zero to disable undo for a reload.

When saving undo for a reload, any undo file is not read.

Note that this causes the whole buffer to be stored in memory. Set this option to a lower value if you run out of memory.

(default 10000)

type

GlobalOption<number>