Skip to main content
Module

x/denops_std/function/mod.ts>digraph_getlist

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

Return a list of digraphs. If the {listall} argument is given and it is TRUE, return all digraphs, including the default digraphs. Otherwise, return only user-defined digraphs.

The characters will be converted from Unicode to 'encoding' when needed. This does require the conservation to be available, it might fail.

Also see digraph_get().

Examples:

" Get user-defined digraphs
:echo digraph_getlist()

" Get all the digraphs, including default digraphs
:echo digraph_getlist(1)

Can also be used as a method:

GetNumber()->digraph_getlist()

This function works only when compiled with the +digraphs feature. If this feature is disabled, this function will display an error message.

Parameters

denops: Denops
optional
listall: unknown

Returns

Promise<unknown[]>