import { bufhidden } from "https://deno.land/x/denops_std@v4.1.4/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|
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|.