Skip to content

Commit d64510a

Browse files
committed
docs: update config code
1 parent 54bfc4e commit d64510a

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,24 @@ With [packer.nvim](https://github.com/wbthomason/packer.nvim):
3131

3232
## Configuration
3333

34-
Provide a table containing any of the following keys to `setup()` -- defaults are below:
34+
Provide a table overwriting any of the following keys to `setup()` -- defaults are below:
3535

3636
```lua
3737
local nvim_tmux_default_configs = {
38-
-- Height and width of tmux man page display in floating window. Should be
39-
-- values between 0 and 1, reflecting the % of the buffer height/width to use
40-
man_floatwin_height = 0.85,
41-
man_floatwin_width = 0.85,
42-
43-
-- Styling of man page floating window. Set to `nil` to enable line number,
44-
-- color columns, etc (see `style` under :h nvim_open_win)
45-
man_floatwin_style = "minimal",
46-
47-
-- Styling of man page floating window border. See `border` under
48-
-- :h nvim_open_win for the complete list of options.
49-
man_floatwin_border = "single"
38+
floatwin = {
39+
-- Height and width of tmux man page display in floating window. Should be
40+
-- values between 0 and 1, reflecting the % of the buffer height/width to use
41+
height = 0.85,
42+
width = 0.85,
43+
44+
-- Styling of man page floating window. Set to `nil` to enable line number,
45+
-- color columns, etc (see `style` under :h nvim_open_win)
46+
style = "minimal",
47+
48+
-- Styling of man page floating window border. See `border` under
49+
-- :h nvim_open_win for the complete list of options.
50+
border = "single"
51+
}
5052
}
5153
```
5254

0 commit comments

Comments
 (0)