about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-19 18:37:56 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 18:38:52 +0200
commit2fca0d7bc64ecd8008b1f8fe6847b489106ebf6f (patch)
tree036cb1a85042815c7d8102394ce87316aba1c56c
parentFix(hm/conf/neovim/autocmds): Add missing 'coloroverride' autocmd group (diff)
downloadnixos-config-2fca0d7bc64ecd8008b1f8fe6847b489106ebf6f.tar.gz
nixos-config-2fca0d7bc64ecd8008b1f8fe6847b489106ebf6f.zip
Fix(hm/conf/neovim/plugins/lf): Prepend 'vim' to global 'o' usage
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