You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call this def function from mapping it is ok.
When I automate it with this autocmd it disturb dirdiff plugin b:currentDiff variable to be set.
if has("autocmd")
augroup VimReload
autocmd!
autocmd BufEnter *.tmp call g:ManageDirDiff()
augroup END
endif
This cause this error message
Manage dirdiff
Error detected while processing function 77_DirDiff[117]..77_DirDiffNext[10]..77_DirDiffOpen:
line 96:
E121: Undefined variable: b:currentDiff
The text was updated successfully, but these errors were encountered:
Hi,
Using Vim DirDiff plugin, I have made this vim9 func to set layout (and go to next diff) when entering &ft dirdiff buffer
When I call this def function from mapping it is ok.
When I automate it with this autocmd it disturb dirdiff plugin b:currentDiff variable to be set.
This cause this error message
The text was updated successfully, but these errors were encountered: