docs: add missing ')' after end in TermSelect keymaps example (#519)

Adds the missing ')' after 'end' on the first example for setting up keymap for send_lines_to_terminal.
This commit is contained in:
Mads Moi-Aune 2023-12-06 11:31:29 +01:00 committed by GitHub
parent 6b334b9d12
commit adee731029
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -303,7 +303,7 @@ Alternatively, for more fine-grained control and use in mappings, in lua:
local trim_spaces = true
vim.keymap.set("v", "<space>s", function()
require("toggleterm").send_lines_to_terminal("single_line", trim_spaces, { args = vim.v.count })
end
end)
-- Replace with these for the other two options
-- require("toggleterm").send_lines_to_terminal("visual_line", trim_spaces, { args = vim.v.count })
-- require("toggleterm").send_lines_to_terminal("visual_selection", trim_spaces, { args = vim.v.count })