summaryrefslogtreecommitdiff
path: root/lua/warp/util.lua
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-03-14 12:26:48 -0600
committerJosh Rahm <joshuarahm@gmail.com>2024-03-14 12:26:48 -0600
commit463b10ee291383011baa5571d187e0ca76037f07 (patch)
tree3e1682af6102ae455c2165990dbe520a55c33dcb /lua/warp/util.lua
parent3273549e2e997767c6d6c347bde9e590d8c182cd (diff)
downloadnvim-warp-463b10ee291383011baa5571d187e0ca76037f07.tar.gz
nvim-warp-463b10ee291383011baa5571d187e0ca76037f07.tar.bz2
nvim-warp-463b10ee291383011baa5571d187e0ca76037f07.zip
Some fixes to the display when dealing with no number column and textoff.HEADmain
Diffstat (limited to 'lua/warp/util.lua')
-rw-r--r--lua/warp/util.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/warp/util.lua b/lua/warp/util.lua
index 7030e59..c51c5aa 100644
--- a/lua/warp/util.lua
+++ b/lua/warp/util.lua
@@ -13,7 +13,8 @@ M.new_panel = function(buf, row, col, width, height)
width = width,
height = height,
focusable = true,
- style = 'minimal'
+ style = 'minimal',
+ fixed = true
})
vim.api.nvim_win_set_option(w, "winhighlight", "Normal:WarpNormal")
return w