Skip to content

Commit

Permalink
refactor: floating window uses same win options
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stevearc committed Oct 28, 2023
1 parent 8418e94 commit 05a80e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/oil/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ M.open_float = function(dir)
height = height,
row = row,
col = col,
style = "minimal",
border = config.float.border,
zindex = 45,
}
Expand Down

0 comments on commit 05a80e2

Please sign in to comment.