223 current 2024-03-19 15:19:16 24.05.20240316.c75037b 6.8.0-zen1 *
This commit is contained in:
parent
2e793557e8
commit
5b49adb8db
1 changed files with 12 additions and 12 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue