From: R. Steve McKown Date: Wed, 9 Sep 2015 23:03:13 +0000 (-0600) Subject: vim/vimrc: change cinoptions X-Git-Url: https://oss.titaniummirror.com/gitweb?p=smckown%2Fdotfiles.git;a=commitdiff_plain;h=a1e1c7fa20d6c08d866579c609f69fdedbe304ee vim/vimrc: change cinoptions Previously, cinoptions attempted to use 1 shiftwidth for line continuations except for if/while/switch and related lines, where two sw's were used. However, looking at code in the various libraries, it appears that more commonly the line continuation is 2 sw's in all cases. --- diff --git a/vim/vimrc b/vim/vimrc index 3308fe2..57fd1d8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -71,7 +71,7 @@ set list set softtabstop=2 shiftwidth=2 expandtab " cinoptions for code formatting -set cino=t0,(s,U1,k2s +set cinoptions=t0,us,U1,k2s " File type specific settings. if has("autocmd")