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

x/denops_std/function/common.ts

๐Ÿ“š Standard module for denops.vim
Go to Latest
import * as denopsStd from "https://deno.land/x/denops_std@v5.2.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:

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(). Any text properties in {lnum} are cleared.