Skip to main content
Latest
function getLine
import { getLine } from "https://deno.land/x/denops_lsputil@v0.9.4/buffer/get.ts";

Just like getLines() but only get one line and return it as a string.

0-based.

If the range specification is incorrect, an LSPRangeError is thrown.

Parameters

denops: Denops
bufnr: number
line: number

Returns

Promise<string>