summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-12-27 01:16:38 +0100
committerAotrix <[email protected]>2025-12-27 01:16:38 +0100
commit310cf16cbc9cc9392c16cac7cac615745ee6c6a0 (patch)
treee3d0c05bec00bd7edc32675403b656d07733cb2c
parent18c3c1e3683d008b85920290a175eb14ebd66a47 (diff)
Add rounded corners to floating terminal for compilation
-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),