mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
doc: Add missing parameter end_pos for range_formatting (#13481)
This commit is contained in:
parent
3974c4bce3
commit
222a0452fa
@ -984,6 +984,9 @@ range_formatting({options}, {start_pos}, {end_pos})
|
||||
Parameters: ~
|
||||
{options} Table with valid `FormattingOptions` entries.
|
||||
{start_pos} ({number, number}, optional) mark-indexed
|
||||
position. Defaults to the start of the last
|
||||
visual selection.
|
||||
{end_pos} ({number, number}, optional) mark-indexed
|
||||
position. Defaults to the end of the last
|
||||
visual selection.
|
||||
|
||||
|
@ -149,7 +149,7 @@ end
|
||||
--@param options Table with valid `FormattingOptions` entries.
|
||||
--@param start_pos ({number, number}, optional) mark-indexed position.
|
||||
---Defaults to the start of the last visual selection.
|
||||
--@param start_pos ({number, number}, optional) mark-indexed position.
|
||||
--@param end_pos ({number, number}, optional) mark-indexed position.
|
||||
---Defaults to the end of the last visual selection.
|
||||
function M.range_formatting(options, start_pos, end_pos)
|
||||
validate { options = {options, 't', true} }
|
||||
|
Loading…
Reference in New Issue
Block a user