aboutsummaryrefslogtreecommitdiff
path: root/ftplugin/text.vim
diff options
context:
space:
mode:
authorMax Christian Pohle2018-11-12 01:10:33 +0100
committerMax Christian Pohle2018-11-12 01:10:33 +0100
commita693df562838c3f93fcb6055359091aab834c8e2 (patch)
treef31e5dec17312ae4ad88c98e4aa77e2a5692b5a2 /ftplugin/text.vim
parent40eca42048f85d361d01842488e1ee62a1adda23 (diff)
downloadvim-karlmarks-a693df562838c3f93fcb6055359091aab834c8e2.tar.bz2
vim-karlmarks-a693df562838c3f93fcb6055359091aab834c8e2.zip
Found and added formatoptions :)
Diffstat (limited to 'ftplugin/text.vim')
-rw-r--r--ftplugin/text.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/text.vim b/ftplugin/text.vim
index 226de51..2095ef5 100644
--- a/ftplugin/text.vim
+++ b/ftplugin/text.vim
@@ -1,2 +1,8 @@
1" highlight double words (its unlikely they are right) 1" highlight double words (its unlikely they are right)
2autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL 2autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL
3
4
5set autoindent nosmartindent nocindent
6
7set formatoptions+=n " When formatting text, recognize numbered lists.
8set formatoptions+=a " Automatic formatting of paragraphs.
..