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

x/ddc_vim/deps.ts>fn.bufloaded

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.bufloaded
import { fn } from "https://deno.land/x/ddc_vim@v3.8.0/deps.ts";
const { bufloaded } = fn;

The result is a Number, which is TRUE if a buffer called {buf} exists and is loaded (shown in a window or hidden). The {buf} argument is used like with bufexists().

Can also be used as a method:

let loaded = 'somename'->bufloaded()

Returns

Promise<boolean>