hii, I’m not well versed with neovim but i just tried out your autocmd and it worked after i replaced “callback” with “command”
callback
accepts (Lua function or Vimscript function name string) while
command
accepts (Ex command string).
check :h nvim_create_autocmd()
for more info
Thanks ^^