refactor: floating window uses same win options
We were passing in `style = "minimal"` to `nvim_open_win`, which sets a lot of default window options. If we remove that, the style of the floating window will match the other oil windows. Users can use `float.override` to set `style = "minimal"` if they want the previous behavior.
This commit is contained in:
parent
8418e94734
commit
05a80e24f6
1 changed files with 0 additions and 1 deletions
|
|
@ -284,7 +284,6 @@ M.open_float = function(dir)
|
||||||
height = height,
|
height = height,
|
||||||
row = row,
|
row = row,
|
||||||
col = col,
|
col = col,
|
||||||
style = "minimal",
|
|
||||||
border = config.float.border,
|
border = config.float.border,
|
||||||
zindex = 45,
|
zindex = 45,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue