summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/aotrix/compile.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/aotrix/compile.lua b/lua/aotrix/compile.lua
index e5f2683..fd59ead 100644
--- a/lua/aotrix/compile.lua
+++ b/lua/aotrix/compile.lua
@@ -36,7 +36,10 @@ function createFloatingWindow()
local window_width = math.floor(max_width / 2)
local window_buffer = vim.api.nvim_create_buf(false, true)
vim.api.nvim_open_win(window_buffer, true, {
+ border = "rounded",
+ style = "minimal",
relative = "editor",
+ noautocmd = true,
height = window_height,
width = window_width,
col = math.floor((max_width - window_width) / 2),