skwp / dotfiles

YADR - The best vim,git,zsh plugins and the cleanest vimrc you've ever seen
http://skwp.github.com/dotfiles
BSD 2-Clause "Simplified" License
6.96k stars 1.41k forks source link

Neocomplete is no longer compatible with Vim versions 8.2.1066+ #877

Closed jmalvinchin closed 2 years ago

jmalvinchin commented 2 years ago

The neocomplete included in the bundle is no longer compatible. Perhaps the new plugin deoplete can be used instead?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 45 days with no activity. If no action is taken it will be closed in 10 days

thecadams commented 2 years ago

+1 for this, seems like this repo isn't maintained anymore though..

It'd be great to find a solution here - perhaps someone out there is maintaining a fork of this repo?

lfilho commented 2 years ago

Yea, im maintaining my own. Feel free to have a look around. It focus on neovim and some different plugins

kathgironpe commented 2 years ago

@thecadams I have not found a solution other than switching to neovim and maintaining my own dotfiles. COC & neovim works. I still like YADR a lot so I maintain a fork without neocomplete. Downgrading to lower versions for Vim does not make sense too.

lfilho commented 2 years ago

Sorry to hear that folks. I've been with my own fork of this repo with neovim and coc as well.

Happy to merge a fix here if anyone finds one

kathgironpe commented 2 years ago

@lfilho I do not have PR for this because I am still testing my MacVim setup. I also maintain a separate neovim setup. Both work.

For those who use Vim 8.2+, I found completor.vim. It is the only option that worked for me. COC did not work.

I started making notes on installation with Yadr here:

https://gist.github.com/kathgironpe/63bef270589bf7451eba924a3bb733a1

YCM worked.

kathgironpe commented 2 years ago

I think the library to be used for code completion may depend on your needs.

YCM works for me.

yav -u https://github.com/ycm-core/YouCompleteMe

cd ~/.vim/bundle/YouCompleteMe
python3 install.py --all

I found faster versions like https://github.com/prabirshrestha/vim-lsp. COC.vim may work for a lot, but I honestly will never use it even for neovim setup.

For the YADR fork I maintain, YCM is my option. I am currently testing https://github.com/prabirshrestha/vim-lsp.

Someone should create a PR. A lot of us will have very opinionated setups based on our needs. But it's still good to fix the neocomplete.vim issues and replace it with something similar. I vote for https://github.com/prabirshrestha/vim-lsp.

kathgironpe commented 2 years ago

Just an update:

Over the past few months, I have CoC.nvim for both NeoVim and Vim8, and I decided to completely switch to using vim-lsp. So far, it works better and has less configuration.

You will need https://github.com/mattn/vim-lsp-settings

CoC gave me errors on some days so I no longer use it for any environment/OS.