Added If true to show that {after} and {follow} parameters of nvim_put() are expecting boolean values

This commit is contained in:
Lee Wannacott 2021-03-07 00:54:13 +13:00
parent ea99e7f2ab
commit d8dff33e4b
2 changed files with 5 additions and 6 deletions

View File

@ -1415,10 +1415,9 @@ nvim_put({lines}, {type}, {after}, {follow}) *nvim_put()*
• "c" |charwise| mode
• "l" |linewise| mode
• "" guess by contents, see |setreg()|
{after} Insert after cursor (like |p|), or before (like
|P|). Expects boolean value: true, or false.
{follow} Place cursor at end of inserted text. Expects
boolean value: true, or false.
{after} If true insert after cursor (like |p|), or before (like
|P|).
{follow} If true place cursor at end of inserted text.
*nvim_replace_termcodes()*
nvim_replace_termcodes({str}, {from_part}, {do_lt}, {special})

View File

@ -1546,8 +1546,8 @@ theend:
/// - "c" |charwise| mode
/// - "l" |linewise| mode
/// - "" guess by contents, see |setreg()|
/// @param after Insert after cursor (like |p|), or before (like |P|).
/// @param follow Place cursor at end of inserted text.
/// @param after If true insert after cursor (like |p|), or before (like |P|).
/// @param follow If true place cursor at end of inserted text.
/// @param[out] err Error details, if any
void nvim_put(ArrayOf(String) lines, String type, Boolean after,
Boolean follow, Error *err)