Deoplete não está funcionando para Neovim

4

Portanto, instalei o neovim e o deoplete plugin. Eu chamei :UpdateRemotePlugins depois. Agora, quando escrevo C/C++ code, simplesmente não conclui. Ele realmente funciona para coisas como patht = ~/Desktop/ , que realmente recebe o menu pop-up. Ou Python code também recebe conclusões. Mas, por enquanto, estou escrevendo principalmente em C++ , então gostaria de fazê-lo funcionar. Eu tenho o Python 3.6 e 2.7.x. Eu fiz pip3 install neovim . Eu fiz call deoplete#enable() e eu até tentei let g:deoplete#enable_at_startup = 1 (deoplete está funcionando, mas não para C/C++ ). Eu tentei deoplete_clang , não conclui também. Onde está o problema? Esta é a saída de :CheckHealth :

    1 
      2 health#deoplete#check
      3 ========================================================================
      4 ## deoplete.nvim
      5   - SUCCESS: has("nvim") was successful
      6   - SUCCESS: has("python3") was successful
      7   - INFO: If you're still having problems, try the following commands:
      8     $ export NVIM_PYTHON_LOG_FILE=/tmp/log
      9     $ export NVIM_PYTHON_LOG_LEVEL=DEBUG
     10     $ nvim
     11     $ cat /tmp/log_{PID}
     12     and then create an issue on github
     13 
     14 health#deoplete#check
     15 ========================================================================
     16 ## deoplete.nvim
     17   - SUCCESS: has("nvim") was successful
     18   - SUCCESS: has("python3") was successful
     19   - INFO: If you're still having problems, try the following commands:
     20     $ export NVIM_PYTHON_LOG_FILE=/tmp/log
     21     $ export NVIM_PYTHON_LOG_LEVEL=DEBUG
     22     $ nvim
     23     $ cat /tmp/log_{PID}
     24     and then create an issue on github
     25 
     26 health#nvim#check
     27 ========================================================================
     28 ## Configuration
     29   - SUCCESS: no issues found
     30 
     31 ## Performance
     32   - SUCCESS: Build type: RelWithDebInfo
     33 
     34 ## Remote Plugins
     35   - WARNING: "nvim" is not registered.
     36   - WARNING: Out of date
     37     - SUGGESTIONS:
     38       - Run ':UpdateRemotePlugins'
     39 
     40 ## terminal
     41   - INFO: key_backspace (kbs) terminfo entry: key_backspace=7
     42   - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
     43 
     44 health#provider#check
     45 ========================================================================
     46 ## Clipboard (optional)
     47   - SUCCESS: Clipboard tool found: xsel
     48 
     49 ## Python 2 provider (optional)
     50   - INFO: 'g:python_host_prog' is not set.  Searching for python2 in the environment.
    [No Name]                                                                                                                                                                                        1,0-1          Top
  - INFO: Executable: /usr/bin/python2
 52   - INFO: Python2 version: 2.7.13
 53   - INFO: python2-neovim version: 0.1.13
 54   - SUCCESS: Latest python2-neovim is installed: 0.1.13
 55 
 56 ## Python 3 provider (optional)
 57   - INFO: 'g:python3_host_prog' is not set.  Searching for python3 in the environment.
 58   - INFO: Executable: /usr/bin/python3
 59   - INFO: Python3 version: 3.6.1
 60   - INFO: python3-neovim version: 0.1.13
 61   - SUCCESS: Latest python3-neovim is installed: 0.1.13
 62 
 63 ## Ruby provider (optional)
 64   - WARNING: 'ruby' and 'gem' must be in $PATH.
 65     - SUGGESTIONS:
 66       - Install Ruby and verify that 'ruby' and 'gem' commands work.

E esta é minha init.vim :

call plug#begin('~/.config/nvim/plugged')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
" call PlugInstall to install new plugins
call plug#end()

call deoplete#enable()

filetype plugin indent on
set number
set nowrap
set tabstop=4
set shiftwidth=4
set autoindent
syntax on
set noswapfile
set nobackup

Existe uma maneira de fazer isso funcionar? Tenho certeza de que também tenho as últimas neovim e deoplete . Eu estou usando o Fedora 26.

    
por bg34ob312 30.07.2017 / 19:06

0 respostas

Tags