mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #14066 from LeeWannacott/clarify-nvim-put
Clarify that nvim_put()'s {after} and {follow} parameters expect boolean values true, or false.
This commit is contained in:
commit
399b47fddb
@ -1415,9 +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
|
||||
{after} If true insert after cursor (like |p|), or before (like
|
||||
|P|).
|
||||
{follow} Place cursor at end of inserted text.
|
||||
{follow} If true place cursor at end of inserted text.
|
||||
|
||||
*nvim_replace_termcodes()*
|
||||
nvim_replace_termcodes({str}, {from_part}, {do_lt}, {special})
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user