about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/lua/lf-nvim.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/lua/lf-nvim.lua b/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/lua/lf-nvim.lua
index f6b249ce..8317a673 100644
--- a/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/lua/lf-nvim.lua
+++ b/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/lua/lf-nvim.lua
@@ -15,8 +15,8 @@ require("lf").setup({
     dir = "",                                      -- directory where `lf` starts ('gwd' is git-working-directory, ""/nil is CWD)
     direction = "float",                           -- window type: float horizontal vertical
     border = "rounded",                            -- border kind: single double shadow curved
-    height = fn.float2nr(fn.round(0.75 * o.lines)), -- height of the *floating* window
-    width = fn.float2nr(fn.round(0.75 * o.columns)), -- width of the *floating* window
+    height = fn.float2nr(fn.round(0.75 * vim.o.lines)), -- height of the *floating* window
+    width = fn.float2nr(fn.round(0.75 * vim.o.columns)), -- width of the *floating* window
     escape_quit = true,                            -- map escape to the quit command (so it doesn't go into a meta normal mode)
     focus_on_open = true,                          -- focus the current file when opening Lf (experimental)
     mappings = true,                               -- whether terminal buffer mapping is enabled