Skip to content

Commit 0829728

Browse files
committed
docs: update readme and vimdoc
1 parent 6900d4d commit 0829728

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ require('incline').setup {
7272
overlap = {
7373
winbar = false,
7474
tabline = false,
75+
borders = true,
7576
},
7677
margin = {
7778
horizontal = 1,

doc/incline.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ window.margin.vertical~
262262
- If a table, both `top` and `bottom` fields must be present.
263263

264264
If `window.placement.vertical` is `top` and 'laststatus' is `3`, you can set
265-
`window.margin.vertical.top` to `0` to allow Incline statuslines to overlap
265+
`window.overlap.borders` to `true` to allow Incline statuslines to overlap
266266
window borders.
267267

268268
*incline-config-window.margin.horizontal*
@@ -276,6 +276,17 @@ window.margin.horizontal~
276276
- If an `int`, the value is used for both the left and right margin.
277277
- If a table, both `left` and `right` fields must be present.
278278

279+
*incline-config-window.overlap*
280+
window.overlap~
281+
Type: `table`
282+
Valid: `table { tabline: bool, winbar: bool, borders: bool }`
283+
Default: `{ tabline: false, winbar: false, borders: true }`
284+
285+
Controls which bars and lines the inline windows are allowed to overlap.
286+
- `tabline` takes priority over `winbar` for windows at the top of the tabpage,
287+
if both are set.
288+
- `borders` takes priority for windows below the top of the tabpage.
289+
279290
*incline-config-window.winhighlight*
280291
window.winhighlight~
281292
Type: `table`

0 commit comments

Comments
 (0)