" highlight double words (its unlikely they are right) autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL set autoindent nosmartindent nocindent set formatoptions+=n " When formatting text, recognize numbered lists. set formatoptions+=a " Automatic formatting of paragraphs.