Skip to main content
Module

x/denops_std/option/mod.ts>undoreload

📚 Standard module for denops.vim
Go to Latest
variable undoreload
import { undoreload } from "https://deno.land/x/denops_std@v3.8.2/option/mod.ts";

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.