Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.hidden

Dark deno-powered completion framework for neovim/Vim
Go to Latest
variable op.hidden
import { op } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { hidden } = op;

When off a buffer is unloaded when it is abandoned. When on a buffer becomes hidden when it is abandoned. If the buffer is still displayed in another window, it does not become hidden, of course.

The commands that move through the buffer list sometimes make a buffer hidden even if the 'hidden' option is off when these three are true:

  • the buffer is modified
  • 'autowrite' is off or writing is not possible
  • the '!' flag was used Also see windows.txt.

To only make one buffer hidden use the 'bufhidden' option. This option is set for one command with ":hide {command}" :hide. WARNING: It's easy to forget that you have changes in hidden buffers. Think twice when using ":q!" or ":qa!".

(default off)

type

GlobalOption<boolean>