Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>op.confirm

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

When 'confirm' is on, certain operations that would normally fail because of unsaved changes to a buffer, e.g. ":q" and ":e", instead raise a |dialog| asking if you wish to save the current file(s). You can still use a ! to unconditionally |abandon| a buffer. If 'confirm' is off you can still activate confirmation for one command only (this is most useful in mappings) with the |:confirm| command. Also see the |confirm()| function and the 'v' flag in 'guioptions'.