diff options
| author | Aotrix <[email protected]> | 2025-12-27 01:16:38 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-12-27 01:16:38 +0100 |
| commit | 310cf16cbc9cc9392c16cac7cac615745ee6c6a0 (patch) | |
| tree | e3d0c05bec00bd7edc32675403b656d07733cb2c /lua/aotrix | |
| parent | 18c3c1e3683d008b85920290a175eb14ebd66a47 (diff) | |
Add rounded corners to floating terminal for compilation
Diffstat (limited to 'lua/aotrix')
| -rw-r--r-- | lua/aotrix/compile.lua | 3 |
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), |
