Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>nvim_buf_line_count

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_buf_line_count
import { nvim_buf_line_count } from "https://deno.land/x/denops_std@v3.9.0/function/nvim/mod.ts";

Gets the buffer line count Parameters: ~ {buffer} Buffer handle, or 0 for current buffer Return: ~ Line count, or 0 for unloaded buffer. |api-buffer|

Parameters

denops: Denops
buffer: unknown

Returns

Promise<unknown>