Use b:exchange_indent if present
This commit is contained in:
parent
3b4b4b38ab
commit
8bd96c3e0d
@ -52,7 +52,7 @@ function! s:exchange(x, y, reverse, expand)
|
||||
endfunction
|
||||
|
||||
function! s:reindent(start, lines, new_indent)
|
||||
if g:exchange_indent == '=='
|
||||
if (exists('b:exchange_indent') ? b:exchange_indent : g:exchange_indent) == '=='
|
||||
let lnum = nextnonblank(a:start)
|
||||
let line = getline(lnum)
|
||||
execute "silent normal! " . lnum . "G=="
|
||||
|
Loading…
Reference in New Issue
Block a user