Skip to content

Commit

Permalink
chore: fix doc style
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorias committed Jun 22, 2024
1 parent c2f72cb commit aceef41
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lua/coerce/conversion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ end

--- Coerces selected text.
--
--@tparam function select_text The function that returns selected text (Region) or an error.
--@tparam function transform_text The function to use to transform selected text.
--@tparam function case The function to use to coerce case.
-- @tparam function select_text The function that returns selected text (Region) or an error.
-- @tparam function transform_text The function to use to transform selected text.
-- @tparam function case The function to use to coerce case.
-- @treturn nil
M.coerce = function(select_text, transform_text, case)
local selected_region = select_text()
if type(selected_region) == "string" then
Expand Down

0 comments on commit aceef41

Please sign in to comment.