Shougo / denite.nvim

:dragon: Dark powered asynchronous unite all interfaces for Neovim/Vim8
Other
2.06k stars 216 forks source link

Denite with floating window fails #851

Closed gniw closed 3 years ago

gniw commented 3 years ago

Warning: I will close the issue without the minimal init.vim and the reproduction instructions.

Problems summary

:Denite command with floating window fails with below error message.

[denite] Traceback (most recent call last):
[denite]   File "/Users/wing/.local/share/dein/repos/github.com/Shougo/denite.nvim/rplugin/python3/deni
te/rplugin.py", line 28, in start
[denite]     return ui.start(args[0], context)
[denite]   File "/Users/wing/.local/share/dein/repos/github.com/Shougo/denite.nvim/rplugin/python3/deni
te/ui/default.py", line 70, in start
[denite]     self._start_sources_queue(context)
[denite]   File "/Users/wing/.local/share/dein/repos/github.com/Shougo/denite.nvim/rplugin/python3/deni
te/ui/default.py", line 182, in _start_sources_queue
[denite]     self._start(context['sources_queue'][0], context)
[denite]   File "/Users/wing/.local/share/dein/repos/github.com/Shougo/denite.nvim/rplugin/python3/deni
te/ui/default.py", line 236, in _start
[denite]     self._init_buffer()
[denite]   File "/Users/wing/.local/share/dein/repos/github.com/Shougo/denite.nvim/rplugin/python3/deni
te/ui/default.py", line 260, in _init_buffer
[denite]     self._switch_buffer()
[denite]   File "/Users/wing/.local/share/dein/repos/github.com/Shougo/denite.nvim/rplugin/python3/deni
te/ui/default.py", line 375, in _switch_buffer
[denite]     self._split_floating(split)
[denite]   File "/Users/wing/.local/share/dein/repos/github.com/Shougo/denite.nvim/rplugin/python3/deni
te/ui/default.py", line 946, in _split_floating
[denite]     self._vim.call(
[denite]   File "/Users/wing/Develop/anyenv/envs/pyenv/versions/3.9.1/lib/python3.9/site-packages/pynvi
m/api/nvim.py", line 299, in call
[denite]     return self.request('nvim_call_function', name, args, **kwargs)
[denite]   File "/Users/wing/Develop/anyenv/envs/pyenv/versions/3.9.1/lib/python3.9/site-packages/pynvi
m/api/nvim.py", line 182, in request
[denite]     res = self._session.request(name, *args, **kwargs)
[denite]   File "/Users/wing/Develop/anyenv/envs/pyenv/versions/3.9.1/lib/python3.9/site-packages/pynvi
m/msgpack_rpc/session.py", line 102, in request
[denite]     raise self.error_wrapper(err)
[denite] pynvim.api.common.NvimError: Vim:E5555: API call: Invalid key 'border'
[denite] Please execute :messages command.

Expected

run denite.

Environment Information (Required!)

Features: +acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.4.4_2/share/nvim"

Run :checkhealth for more info


 * `:checkhealth` or `:CheckHealth` result(neovim only):

health#nvim#check

Configuration

Performance

Remote Plugins

terminal

health#provider#check

Clipboard (optional)

Python 2 provider (optional)

Python 3 provider (optional)

Node.js provider (optional)

## Provide a minimal init.vim with less than 50 lines (Required!)

```vim
set runtimepath+=~/.local/share/dein/repos/github.com/Shougo/denite.nvim

let s:denite_options = {
      \ 'split': 'floating',
      \ }

call denite#custom#option('default', s:denite_options)

colorscheme desert "default setting
filetype plugin indent on
syntax on

How to reproduce problems from neovim startup (Required!)

  1. :Denite file

Screenshot (if possible)

output

Upload the log file

log_py3_rplugin.txt

Shougo commented 3 years ago

Really?

I will test it. Please wait.

Shougo commented 3 years ago

OK. Reproduced. It is bug.

gniw commented 3 years ago

Now it works! thank you!