From 2fca0d7bc64ecd8008b1f8fe6847b489106ebf6f Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 19 Aug 2023 18:37:56 +0200 Subject: Fix(hm/conf/neovim/plugins/lf): Prepend 'vim' to global 'o' usage --- .../soispha/config/neovim/nixvim/plugins/lf-nvim/lua/lf-nvim.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim') 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 -- cgit 1.4.1