From 2cc734fd995a89602975e1ab3c446afd900ca4bf Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 18 Jan 2013 18:39:59 -0500 Subject: [PATCH] Default to automatic indenting Only one way to find out if this is actually a good idea. --- plugin/surround.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/surround.vim b/plugin/surround.vim index 5ed8f64..e0aac1d 100644 --- a/plugin/surround.vim +++ b/plugin/surround.vim @@ -340,7 +340,7 @@ function! s:insert(...) " {{{1 endfunction " }}}1 function! s:reindent() " {{{1 - if exists("b:surround_indent") ? b:surround_indent : (exists("g:surround_indent") && g:surround_indent) + if exists("b:surround_indent") ? b:surround_indent : (!exists("g:surround_indent") || g:surround_indent) silent norm! '[='] endif endfunction " }}}1