summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-11-02 18:55:26 -0400
committerJesse Luehrs <doy@tozt.net>2013-11-02 19:21:09 -0400
commit8b7006771a7a2d2d4bdb67697bc2cdd93931e0a5 (patch)
treea51abd83774671f80b9191b6f53eadcfbcd3ac8b
parent79a0ddb6caa5b60fff7585e5fc55498cb6f652cf (diff)
downloadconf-8b7006771a7a2d2d4bdb67697bc2cdd93931e0a5.tar.gz
conf-8b7006771a7a2d2d4bdb67697bc2cdd93931e0a5.zip
strip comment characters when joining comment lines together
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 0841687..42b3794 100644
--- a/vimrc
+++ b/vimrc
@@ -28,6 +28,9 @@ set nostartofline
" call CursorHold autocommands (and write swap files to disk) more often
set updatetime=2000
+
+" strip leading comment characters when joining multiline comments
+set formatoptions+=j
" }}}
" Display {{{
" color!