mirror of
https://github.com/akinsho/toggleterm.nvim
synced 2024-09-16 21:34:03 +02:00
doc(float_opts): adds row and col to float_opts documentation (#532)
This commit is contained in:
parent
5150a326c5
commit
b49df5cdce
2 changed files with 6 additions and 2 deletions
|
@ -204,9 +204,11 @@ require("toggleterm").setup{
|
|||
-- the 'curved' border is a custom border type
|
||||
-- not natively supported but implemented in this plugin.
|
||||
border = 'single' | 'double' | 'shadow' | 'curved' | ... other options supported by win open
|
||||
-- like `size`, width and height can be a number or function which is passed the current terminal
|
||||
-- like `size`, width, height, row, and col can be a number or function which is passed the current terminal
|
||||
width = <value>,
|
||||
height = <value>,
|
||||
row = <value>,
|
||||
col = <value>,
|
||||
winblend = 3,
|
||||
zindex = <value>,
|
||||
title_pos = 'left' | 'center' | 'right', position of the title of the floating window
|
||||
|
|
|
@ -190,9 +190,11 @@ what options are available. It is not written to be used as is.
|
|||
-- the 'curved' border is a custom border type
|
||||
-- not natively supported but implemented in this plugin.
|
||||
border = 'single' | 'double' | 'shadow' | 'curved' | ... other options supported by win open
|
||||
-- like `size`, width and height can be a number or function which is passed the current terminal
|
||||
-- like `size`, width, height, row, and col can be a number or function which is passed the current terminal
|
||||
width = <value>,
|
||||
height = <value>,
|
||||
row = <value>,
|
||||
col = <value>,
|
||||
winblend = 3,
|
||||
zindex = <value>,
|
||||
title_pos = 'left' | 'center' | 'right', position of the title of the floating window
|
||||
|
|
Loading…
Reference in a new issue