aboutsummaryrefslogtreecommitdiff
path: root/ftplugin/text.vim
blob: 2095ef5a58811f4541622700c3cf0acee95f4eac (plain)
1
2
3
4
5
6
7
8
" 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.
..