doc(float_opts): adds row and col to float_opts documentation (#532)

This commit is contained in:
Tim Hammerquist 2024-01-22 09:20:58 -08:00 committed by GitHub
parent 5150a326c5
commit b49df5cdce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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