indent previous line after entering <CR>
https://github.com/jiangmiao/simple-javascript-indenter/issues/8
This commit is contained in:
parent
f447d486c9
commit
2d6a50c4b5
@ -165,7 +165,7 @@ function! AutoPairsReturn()
|
||||
if g:AutoPairsCenterLine && winline() * 1.5 >= winheight(0)
|
||||
let cmd = " \<C-O>zz\<ESC>cl"
|
||||
end
|
||||
return "\<DEL>\<CR>".cur_char."\<C-O>O".cmd
|
||||
return "\<DEL>\<CR>".cur_char."\<ESC>=ko".cmd
|
||||
end
|
||||
return "\<CR>"
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user