aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc8
1 files changed, 3 insertions, 5 deletions
diff --git a/vim/vimrc b/vim/vimrc
index a5c076a2..34a83af6 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -72,14 +72,12 @@ endif
set foldlevelstart=99
set foldmethod=indent
-" Delete comment leaders when joining lines, if supported
+" Automatic formatting options
if vimrc#Version('7.3.541')
- set formatoptions+=j
+ set formatoptions+=j " Delete comment leaders when joining lines
endif
-
-" Don't break a single space after a period, if supported
if vimrc#Version('8.1.728')
- set formatoptions+=p
+ set formatoptions+=p " Don't break a single space after a period
endif
" Don't load GUI menus; set here before GUI starts or any filetype or syntax