import { digraph_setlist } from "https://deno.land/x/denops_std@v5.0.2/function/mod.ts";
Similar to digraph_set()
but this function can add multiple
digraphs at once. {digraphlist} is a list composed of lists,
where each list contains two strings with {chars} and
{digraph} as in digraph_set()
.
Example:
call digraph_setlist([['aa', 'γ'], ['ii', 'γ']])
It is similar to the following:
for [chars, digraph] in [['aa', 'γ'], ['ii', 'γ']]
call digraph_set(chars, digraph)
endfor
Except that the function returns after the first error, following digraphs will not be added.
Can be used as a method
:
GetList()->digraph_setlist()
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