aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-06 14:40:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-06 14:40:12 +1200
commitf9efcd72a0561f2ef1e5bf713411e712e21ccc3b (patch)
tree4e530f02c9f4129796081e47fa949edcfff8ee07
parentUse autoload function for escaping :set values (diff)
downloaddotfiles-f9efcd72a0561f2ef1e5bf713411e712e21ccc3b.tar.gz
dotfiles-f9efcd72a0561f2ef1e5bf713411e712e21ccc3b.zip
Adjust layout of 'formatoptions'
-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