Skip to main content
Module

x/denops_std/option/mod.ts>bufhidden

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

This option specifies what happens when a buffer is no longer displayed in a window: 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|

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<string>; setLocal(denops: Denops, value: string): Promise<void>; resetLocal(denops: Denops): Promise<void>; }