nvim: run stylua

This commit is contained in:
Primrose 2025-07-08 13:39:02 +02:00
parent 3f5e236fe5
commit e91471432f
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
7 changed files with 28 additions and 11 deletions

View file

@ -64,7 +64,9 @@ vim.api.nvim_create_autocmd("WinClosed", {
group = vim.api.nvim_create_augroup("conf_fugitive_prevwin", {}),
callback = function(args)
local win = tonumber(args.match)
if win == vim.api.nvim_get_current_win() and vim.bo.filetype == "fugitive" then vim.cmd.wincmd("p") end
if win == vim.api.nvim_get_current_win() and vim.bo.filetype == "fugitive" then
vim.cmd.wincmd("p")
end
end,
})