mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
jj file hist
This commit is contained in:
parent
ce017fd37c
commit
f6e4e39f2f
5 changed files with 73 additions and 31 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue