mirror of
https://github.com/akinsho/toggleterm.nvim
synced 2024-09-16 21:34:03 +02:00
chore(build): auto-generate vimdoc
This commit is contained in:
parent
ef748d4a6b
commit
91be5f327e
1 changed files with 2 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
*toggleterm.txt* For Neovim >= 0.8.0 Last change: 2023 December 06
|
||||
*toggleterm.txt* For Neovim >= 0.8.0 Last change: 2023 December 13
|
||||
|
||||
==============================================================================
|
||||
Table of Contents *toggleterm-table-of-contents*
|
||||
|
@ -477,17 +477,13 @@ using the current count e.g. `:5ToggleTerm<CR>`
|
|||
local lazygit = Terminal:new({ cmd = "lazygit", count = 5 })
|
||||
<
|
||||
|
||||
You can also set several options for the custom terminal including layout,
|
||||
opening and closing functions, and the newline character used when sending text
|
||||
to the terminal. The `newline_chr` defaults to "\r" on powershell, "\r\n" on
|
||||
cmd.exe, and "\n" otherwise.
|
||||
You can also set a custom layout for a terminal.
|
||||
|
||||
>lua
|
||||
local lazygit = Terminal:new({
|
||||
cmd = "lazygit",
|
||||
dir = "git_dir",
|
||||
direction = "float",
|
||||
newline_chr = "\n"
|
||||
float_opts = {
|
||||
border = "double",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue