223 current 2024-03-19 15:19:16 24.05.20240316.c75037b 6.8.0-zen1 *

This commit is contained in:
zackartz 2024-03-19 15:19:25 -04:00
parent 2e793557e8
commit 5b49adb8db

View file

@ -298,21 +298,21 @@
]; ];
extraConfigLua = '' extraConfigLua = ''
local Terminal = require('toggleterm.terminal').Terminal local Terminal = require('toggleterm.terminal').Terminal
local lazygit = Terminal:new({ cmd = "lazygit", hidden = true, direction = "float" }) 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() function _lazygit_toggle()
lazygit:toggle() lazygit:toggle()
end
local integrations = require("nvconfig").base46.integrations
for _, name in ipairs(integrations) do
dofile(vim.g.base46_cache .. name)
end end
local integrations = require("nvconfig").base46.integrations
for _, name in ipairs(integrations) do
dofile(vim.g.base46_cache .. name)
end
''; '';
}; };
} }