Shougo / deoplete.nvim

:stars: Dark powered asynchronous completion framework for neovim/Vim8
Other
5.94k stars 295 forks source link

tmux環境下で画面が真っ黒になる #883

Closed ghost closed 5 years ago

ghost commented 5 years ago

Problems summary

tmuxを起動し、その中でdeopleteを有効にしたVimを起動すると画面が真っ暗で何も応答しなくなる。 その状態でCtrl+Cを2回押すと普通に使えるようになる。

Environment Information

OS X付属のTerminal、iTerm2 Build 3.2.6の両方で発生 tmux 2.8

Features: +acl +iconv +jemalloc +tui

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

" Your minimal init.vim/vimrc
call plug#begin()
Plug 'Shougo/deoplete.nvim'
call plug#end()
let g:deoplete#enable_at_startup = 1

How to reproduce the problem from neovim/Vim startup (Required!)

  1. tmuxを起動する
  2. nvimを起動する
  3. カーソルも出ず、操作が何もできない。tmuxのステータスバーだけ出ている状態。Ctrl-Cを二度押すとVimが表示され操作ができるようになる。
  4. deopleteを読み込まなければなんの問題もなく起動する。
  5. let g:deoplete#enable_at_startup = 1を書かないと、問題なく起動するが、:call deoplete#enable()を呼んだ時点で問題が発生する。
Shougo commented 5 years ago

I have tested it in Linux, but I don't reproduce the problem. It is really deoplete problem?

Shougo commented 5 years ago

deoplete seems hanged. You can investigate the problem more. You should enable debug flag.

   8. Please enable debug mode from command line and upload the log file. >

       $ export NVIM_PYTHON_LOG_FILE=/tmp/log
       $ export NVIM_PYTHON_LOG_LEVEL=DEBUG
       $ neovim
       ... Use deoplete
       $ cat /tmp/log_{PID}
ghost commented 5 years ago

Testing another plugins and I found that it seems not deoplete problem. ncm2/ncm2 + roxma/nvim-yarp cause the same issue. Each plugin itself doesn't cause problem, but when combined, nvim hangs. However, prabirshrestha/asyncomplete.vim has no problem.

Let me close this issue for this time.

Shougo commented 5 years ago

OK.