kassio / neoterm

Wrapper of some vim/neovim's :terminal functions.
Other
1.32k stars 117 forks source link

:bdelete! breaks neoterm #192

Closed stsewd closed 6 years ago

stsewd commented 6 years ago

I think this was after this commit https://github.com/kassio/neoterm/commit/1b05f7808fb2a315ffeeebdb600c9341b35c707f

To reproduce:

Error detected while processing function 37[5]..38[6]..neoterm#close:                                                                                                                             
line    9:                                                                                                                                                                                        
E16: Invalid range: 2bdelete! 

If I try to call :Ttoggle again, this error appears:

Error detected while processing function neoterm#toggle[8]..neoterm#open[14]..<SNR>182_create_window:                                                                                             
line   19:                                                                                                                                                                                        
E86: Buffer 5 does not exist 
alienbogart commented 6 years ago

I'm having the same problem. I'm also unable to do :TogleCloseAll! for the same reason.