Skip to main content
Module

x/ddc_vim/deps.ts>op.bufhidden

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

This option specifies what happens when a buffer is no longer displayed in a window: <empty> follow the global 'hidden' option hide hide the buffer (don't unload it), even if 'hidden' is not set unload unload the buffer, even if 'hidden' is set; the :hide command will also unload the buffer delete delete the buffer from the buffer list, even if 'hidden' is set; the :hide command will also delete the buffer, making it behave like :bdelete wipe wipe the buffer from the buffer list, even if 'hidden' is set; the :hide command will also wipe out the buffer, making it behave like :bwipeout

CAREFUL: when "unload", "delete" or "wipe" is used changes in a buffer are lost without a warning. Also, these values may break autocommands that switch between buffers temporarily. This option is used together with 'buftype' and 'swapfile' to specify special kinds of buffers. See special-buffers.

(default: "")

type

LocalOption<string>