Adjust formatoptions with autocmd FileType instead