After `:doautocmd Syntax` in a markdown file, `foldmethod` switches from `expr` to `syntax` from `ftplugin/ruby.vim`.