mirror of
https://github.com/tpope/vim-surround.git
synced 2025-11-08 11:23:49 -05:00
Default to automatic indenting
Only one way to find out if this is actually a good idea.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user