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

x/ddc_vim/deps.ts>fn.buflisted

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.buflisted
import { fn } from "https://deno.land/x/ddc_vim@v4.0.5/deps.ts";
const { buflisted } = fn;

The result is a Number, which is TRUE if a buffer called {buf} exists and is listed (has the 'buflisted' option set). The {buf} argument is used like with bufexists().

Can also be used as a method:

let listed = 'somename'->buflisted()

Returns

Promise<boolean>