Skip to main content
Module

x/dpp_vim/deps.ts>fn.digraph_getlist

Dark powered plugin manager for Vim/neovim
Latest
function fn.digraph_getlist
import { fn } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { digraph_getlist } = fn;

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[]>