From 05a80e24f6c920e29ed741d12ede0840e456a3e4 Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Sat, 28 Oct 2023 12:23:43 -0700 Subject: [PATCH] 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. --- lua/oil/init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/oil/init.lua b/lua/oil/init.lua index ceb6cf75..f788f167 100644 --- a/lua/oil/init.lua +++ b/lua/oil/init.lua @@ -284,7 +284,6 @@ M.open_float = function(dir) height = height, row = row, col = col, - style = "minimal", border = config.float.border, zindex = 45, }