jj file hist

This commit is contained in:
iofq 2025-10-22 01:15:51 -05:00
parent ce017fd37c
commit f6e4e39f2f
5 changed files with 73 additions and 31 deletions

View file

@ -41,7 +41,7 @@ vim.api.nvim_create_autocmd('FileType', {
local qf = vim.fn.getqflist()
local entry = qf[1]
if not entry or not entry.user_data.diff then
if not entry or not entry.user_data or not entry.user_data.diff then
return nil
end