autocmd FileType text setlocal textwidth=100 augroup Markdown autocmd! autocmd FileType markdown set textwidth=90 augroup END