Shougo / deoplete.nvim

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

No file path completion #967

Closed noscript closed 5 years ago

noscript commented 5 years ago

Problems summary

Tried to switch from neocomplete to deoplete and cannot get file path completion working. It works in neocomplete out of the box.

Expected

File path completion to work.

Environment Information

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

set nocompatible
set runtimepath+=~/TEST/deoplete.git
set runtimepath+=~/TEST/hug-neovim-rpc.git

let g:deoplete#enable_at_startup = 1

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

Start typing ~/Dow and expect to see a suggestion ~/Downloads

Screenshot (if possible)

This is what neocomplete shows me, but deoplete doesn't neocomplete

This is my minimal vimrc for neocomplete:

set nocompatible
set runtimepath+=~/TEST/neocomplete.git

let g:neocomplete#enable_at_startup = 1
Shougo commented 5 years ago

I have tested it and it works.

I think you have not seen the requirements.

Note: deoplete requires Neovim (0.3.0+) or Vim8 (latest is recommended) with
Python3.6.1+ and |+timers| enabled.

Please install nvim-yarp plugin for Vim8.
https://github.com/roxma/nvim-yarp

Please install vim-hug-neovim-rpc plugin for Vim8.
https://github.com/roxma/vim-hug-neovim-rpc

1. Extract the files and put them in your Neovim or .vim directory
   (usually `$XDG_CONFIG_HOME/nvim/`).
2. Call |deoplete#enable()| or set "let g:deoplete#enable_at_startup = 1" in
   your `init.vim`/`vimrc`
3. Execute the ":UpdateRemotePlugins" if Neovim.

If ":echo has('python3')" returns `1`, then you're done; otherwise, see below.

You can enable Python3 interface with pip: >

    pip3 install --user pynvim

Python 3.6.1+ is needed for deoplete.

OS: Debian 9.8 (stretch) x86_64

Debian stretch is old and it is Python 3.5. deoplete does not work.

e-kwsm commented 5 years ago

Debian Stretch is the current stable; Buster (testing) provides python 3.7.2.

Shougo commented 5 years ago

Yes. I know.