From 5b49adb8dbf40b075e9ff520330d2f318679384f Mon Sep 17 00:00:00 2001 From: zackartz Date: Tue, 19 Mar 2024 15:19:25 -0400 Subject: [PATCH] 223 current 2024-03-19 15:19:16 24.05.20240316.c75037b 6.8.0-zen1 * --- modules/home-manager/vim.nix | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/home-manager/vim.nix b/modules/home-manager/vim.nix index 60927a1..61ae5ae 100644 --- a/modules/home-manager/vim.nix +++ b/modules/home-manager/vim.nix @@ -298,21 +298,21 @@ ]; 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/' - function _lazygit_toggle() - lazygit:toggle() + function _lazygit_toggle() + lazygit:toggle() + end + + + local integrations = require("nvconfig").base46.integrations + + for _, name in ipairs(integrations) do + dofile(vim.g.base46_cache .. name) end - - -local integrations = require("nvconfig").base46.integrations - -for _, name in ipairs(integrations) do - dofile(vim.g.base46_cache .. name) -end ''; }; }