Shougo / deol.nvim

Dark powered shell interface for Vim/NeoVim
MIT License
330 stars 16 forks source link

Execute Deol left current buffer #41

Closed nyatsui closed 2 years ago

nyatsui commented 2 years ago

After this commit(3397fe7476a8cb8f92ca92beb940f5dc66ff908b), the open buffer will be closed when Deol is executed. Can you please change it so that Deol can be executed with the buffer left as before?

I'm not sure about the change, but for example

function! s:deol.init_deol_buffer() abort
  if has('nvim')
    let options = {}
    let options.on_stdout = { j, d, e -> s:ddc_changed() }

    execute 'enew'
    call termopen(self.command, options)

https://github.com/Shougo/deol.nvim/blob/master/autoload/deol.vim#L308