Skip to main content
Module

x/denops_std/function/mod.ts>nextnonblank

📚 Standard module for denops.vim
Go to Latest
function nextnonblank
import { nextnonblank } from "https://deno.land/x/denops_std@v3.6.0/function/mod.ts";

Return the line number of the first line at or below {lnum} that is not blank. Example: if getline(nextnonblank(1)) =~ "Java" When {lnum} is invalid or there is no non-blank line at or below it, zero is returned. See also |prevnonblank()|. Can also be used as a |method|: GetLnum()->nextnonblank()

Parameters

denops: Denops
lnum: unknown

Returns

Promise<unknown>