Shougo / deol.nvim

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

command name completion does not at deol-edit buffer with bash #36

Closed ujihisa closed 3 years ago

ujihisa commented 3 years ago

https://github.com/Shougo/deol.nvim/blob/0c6e1653f0d0a904efa8da01e470ffe0bd1bf594/doc/deol.txt#L56

Even with deoplete-zsh plugin, command name completion does not work. It seems to that deol is expecting deoplete-zsh to provide bash completion, but deoplete-zsh does not seem to provide it, and I don't think it's an issue in deoplete-zsh since it focuses on zsh, but it's an integration issue in deol-edit.

Shougo commented 3 years ago
call deoplete#custom#option({
      \ 'nofile_complete_filetypes': ['bash', 'zsh', 'denite-filter'],
      \ })
call deoplete#custom#source('zsh', 'filetypes', ['zsh', 'bash'])

It works for me.