Skip to main content
Module

x/ddc_vim/deps.ts>fn.buflisted

Dark deno-powered completion framework for neovim/Vim
Latest
function fn.buflisted
import { fn } from "https://deno.land/x/ddc_vim@v4.3.1/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>