import * as denopsStd from "https://deno.land/x/denops_std@v3.9.0/function/common.ts";
Functions
The result is a Number, which is |TRUE| if {expr} is defined, zero otherwise. | |
Without {end} the result is a String, which is line {lnum} from the current buffer. Example: > getline(1) When {lnum} is a String that doesn't start with a digit, line() is called to translate the String into a Number. To get the line under the cursor: > getline(".") When {lnum} is smaller than 1 or bigger than the number of lines in the buffer, an empty string is returned. | |
f has | Returns 1 if {feature} is supported, 0 otherwise. The {feature} argument is a feature name like "nvim-0.2.1" or "win32", see below. See also |exists()|. |
Set line {lnum} of the current buffer to {text}. To insert lines use |append()|. To set lines in another buffer use |setbufline()|. |