]> code.delx.au - dotfiles/blobdiff - .vim/indent.vim
vim: line continuations are only one indent wide
[dotfiles] / .vim / indent.vim
index cb77ad8c7f46f76433414637b4b5461dcfa0c753..62d351a83c1ba2c0a58a959de77e546173c42b13 100644 (file)
@@ -15,6 +15,13 @@ set shiftwidth=4
 " < and > will hit indentation levels instead of adding/subtracting shiftwidth
 set shiftround
 
+" Single indent for line continuations
+set cinoptions=+1s
+set cinoptions=(1s
+let g:pyindent_open_paren = &sw
+let g:pyindent_continue = &sw
+let g:vim_indent_cont = &sw
+
 " Use :retab to change the file to entirely space indents
 " Use :retab! to change the file to entirely tab indents