Catch E325 in neovim
This commit is contained in:
parent
6cf4f9f9ab
commit
5ee8ffc3f6
1 changed files with 6 additions and 1 deletions
|
|
@ -106,7 +106,12 @@ function! s:_OnCommandEvent( category, id, data, event ) abort
|
|||
let buffer = s:commands[ a:category ][ a:id ].stderr
|
||||
endif
|
||||
|
||||
call bufload( buffer )
|
||||
try
|
||||
call bufload( buffer )
|
||||
catch /E325/
|
||||
" Ignore E325/ATTENTION
|
||||
endtry
|
||||
|
||||
|
||||
let numlines = py3eval( "len( vim.buffers[ int( vim.eval( 'buffer' ) ) ] )" )
|
||||
let last_line = getbufline( buffer, '$' )[ 0 ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue