From a693df562838c3f93fcb6055359091aab834c8e2 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 12 Nov 2018 01:10:33 +0100 Subject: Found and added formatoptions :) --- ftplugin/text.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ftplugin/text.vim') 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 @@ " 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. -- cgit v1.2.3