vim-patch:partial:a2baa73d1d33

Update runtime files.
a2baa73d1d

This only includes changes to docs of digraph functions.
This commit is contained in:
zeertzjq
2022-02-17 19:15:21 +08:00
parent 0a813ae291
commit b69ecacbb4

View File

@@ -1680,12 +1680,13 @@ digraph_getlist([{listall}]) *digraph_getlist()*
GetNumber()->digraph_getlist() GetNumber()->digraph_getlist()
< <
digraph_set({chars}, {digraph}) *digraph_set()* *E1205* digraph_set({chars}, {digraph}) *digraph_set()*
Add digraph {chars} to the list. {chars} must be a string Add digraph {chars} to the list. {chars} must be a string
with two characters. {digraph} is a string with one utf-8 with two characters. {digraph} is a string with one UTF-8
encoded character. Be careful, composing characters are NOT encoded character. *E1215*
ignored. This function is similar to |:digraphs| command, but Be careful, composing characters are NOT ignored. This
useful to add digraphs start with a white space. function is similar to |:digraphs| command, but useful to add
digraphs start with a white space.
The function result is v:true if |digraph| is registered. If The function result is v:true if |digraph| is registered. If
this fails an error message is given and v:false is returned. this fails an error message is given and v:false is returned.
@@ -1704,7 +1705,7 @@ digraph_setlist({digraphlist}) *digraph_setlist()*
Similar to |digraph_set()| but this function can add multiple Similar to |digraph_set()| but this function can add multiple
digraphs at once. {digraphlist} is a list composed of lists, digraphs at once. {digraphlist} is a list composed of lists,
where each list contains two strings with {chars} and where each list contains two strings with {chars} and
{digraph} as in |digraph_set()|. {digraph} as in |digraph_set()|. *E1216*
Example: > Example: >
call digraph_setlist([['aa', 'あ'], ['ii', 'い']]) call digraph_setlist([['aa', 'あ'], ['ii', 'い']])
< <