From 4340ea1d3bb5b34d73848fd8feed7958185262c8 Mon Sep 17 00:00:00 2001 From: zackartz Date: Tue, 19 Mar 2024 12:06:55 -0400 Subject: [PATCH] 218 current 2024-03-19 12:06:47 24.05.20240316.c75037b 6.8.0-zen1 * --- modules/home-manager/vim.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/home-manager/vim.nix b/modules/home-manager/vim.nix index 6efdf47..9372f29 100644 --- a/modules/home-manager/vim.nix +++ b/modules/home-manager/vim.nix @@ -298,15 +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/' - package.path = package.path .. ";" .. projectRoot .. "/?.lua" + vim.g.base46_cache = vim.fn.stdpath('data') .. '/base46_cache/' + package.preload["nvconfig"] = require("./nvconfig.lua") - function _lazygit_toggle() - lazygit:toggle() - end + function _lazygit_toggle() + lazygit:toggle() + end ''; }; }