While working a Markdown plugin, we've wanted to change the filetype from
markdown to increase compatibility with other plugins.
To avoid breaking users
.vimrc that had autocommands like:
autocmd FileType mkd echo 'a'
we've tried using:
help 'ft' says both types would be tried.
Now the syntax works fine, but the autocmd does not run. The only way to make it run is to use:
autocmd FileType mkd.markdown echo 'a'
which is obviously bad.
Is there a way to avoid breaking user autocommands in this case?