mirror of
https://github.com/akinsho/toggleterm.nvim
synced 2024-09-16 21:34:03 +02:00
docs: fix code comment typos (#574)
This commit is contained in:
parent
066cccf48a
commit
a9ea8a4c5c
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue