The '?' needs to be escaped, because the autocommand is using file-patterns (glob like) and not a regex). See :h file-pattern closes: vim/vim#17890 f7deb815b0 Co-authored-by: Girish Palya <girishji@gmail.com>
f7deb815b0
vim.pack