From f5807ded16805bc4a0cc4f41779ebc5a28abe74d Mon Sep 17 00:00:00 2001 From: zackartz Date: Tue, 19 Mar 2024 12:05:18 -0400 Subject: [PATCH] 217 current 2024-03-19 12:05:10 24.05.20240316.c75037b 6.8.0-zen1 * --- modules/home-manager/vim.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/home-manager/vim.nix b/modules/home-manager/vim.nix index 6c804eb..6efdf47 100644 --- a/modules/home-manager/vim.nix +++ b/modules/home-manager/vim.nix @@ -298,14 +298,15 @@ ]; extraConfigLua = '' - local Terminal = require('toggleterm.terminal').Terminal - local lazygit = Terminal:new({ cmd = "lazygit", hidden = true, direction = "float" }) + local Terminal = require('toggleterm.terminal').Terminal + local lazygit = Terminal:new({ cmd = "lazygit", hidden = true, direction = "float" }) - vim.g.base46_cache = vim.fn.stdpath('data') .. '/base46_cache/' + vim.g.base46_cache = vim.fn.stdpath('data') .. '/base46_cache/' + package.path = package.path .. ";" .. projectRoot .. "/?.lua" - function _lazygit_toggle() - lazygit:toggle() - end + function _lazygit_toggle() + lazygit:toggle() + end ''; }; }