Skip to main content
Module

x/denops_std/buffer/mod.ts

📚 Standard module for denops.vim
Go to Latest
import * as denopsStd from "https://deno.land/x/denops_std@v5.0.2/buffer/mod.ts";

A module to provide Vim buffer utility functions

Variables

v
assertFileFormat
deprecated

Assert that the value is FileFormat.

v
ensureFileFormat
deprecated

Ensure that the value is FileFormat.

Predicate that the value is FileFormat.

v
maybeFileFormat
deprecated

Maybe that the value is FileFormat.

Functions

Append content under the current cursor position or given lnum of the buffer

Concrete the buffer.

Decode raw binary content for string array for the bufnr buffer

Decorate the specified buffer with decorations

Ensure the executor is executed under the specified buffer

Ensure the executor is executed under a modifiable buffer

Open a bufname buffer with given options on the current window

Reload the content of the bufnr buffer

Replace the content of the bufnr buffer

Undecorate the specified buffer