Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.digraph_getlist

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.digraph_getlist
import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/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[]>