mirror of
https://github.com/akinsho/toggleterm.nvim
synced 2024-09-16 21:34:03 +02:00
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:
parent
6b334b9d12
commit
adee731029
1 changed files with 1 additions and 1 deletions
|
@ -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 })
|
||||
|
|
Loading…
Reference in a new issue