Updated the `autocmd` for json filetypes