Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaem committed Apr 22, 2024
1 parent 066cccf commit 199d4c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/toggleterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ function M.send_lines_to_terminal(selection_type, trim_spaces, cmd_data)
else
local res = nil
if string.match(selection_type, "visual") then
-- This calls vim.fn.getpos, while uses 1-based indexing for columns
-- This calls vim.fn.getpos, which uses 1-based indexing for columns
res = utils.get_line_selection("visual")
else
-- This calls vim.fn.getpos, while uses 1-based indexing for columns
-- This calls vim.fn.getpos, which uses 1-based indexing for columns
res = utils.get_line_selection("motion")
end
start_line, start_col = unpack(res.start_pos)
Expand Down

0 comments on commit 199d4c2

Please # to comment.