catch specifically E444 on BufLeave
This commit is contained in:
parent
a8d959a737
commit
48d748cf0a
|
@ -125,7 +125,7 @@ function! s:insane_in_the_membrane() abort
|
|||
|
||||
autocmd! startify *
|
||||
autocmd startify CursorMoved <buffer> call s:set_cursor()
|
||||
autocmd startify BufLeave <buffer> try | wincmd c | catch | autocmd! startify *
|
||||
autocmd startify BufLeave <buffer> try | wincmd c | catch /E444/ | endtry | autocmd! startify *
|
||||
|
||||
call cursor(special ? 4 : 2, 5)
|
||||
endfunction
|
||||
|
|
Loading…
Reference in a new issue