jremmen / vim-ripgrep

Use RipGrep in Vim and display results in a quickfix list
MIT License
541 stars 99 forks source link

Neovim Nightly - E1208: -complete used without -nargs #59

Closed Trid-collab closed 2 years ago

Trid-collab commented 3 years ago

NVIM v0.6.0-dev+127-g1a10acb99

I am using the latest neovim nightly mentioned above. Just after the latest neovim nightly update I noticed that I have started getting the following error. Could you please help.

Error detected while processing /home/tridib/.local/share/nvim/site/pack/packer/start/vim-ripgrep/plugin/vim-ripgrep.vim: line 149: E1208: -complete used without -nargs Press ENTER or type command to continue

martsa1 commented 3 years ago

Also started seeing this.

Edit: #58 should fix this I believe?

Edit2: #56 looks like a "more correct" fix.

Trid-collab commented 3 years ago

Thank you. How can I pull this. I am new to this. I gather that the edits mentioned are still not merged with the main and hence not updating the install when I am trying update the plugin with my package manager

tsullivan commented 3 years ago

@Trid-collab I recommend using hub to check out the branch of the contributor that posted https://github.com/jremmen/vim-ripgrep/pull/56.

cd ~/.vim/<plugins_dir>/vim-ripgrep
hub checkout https://github.com/jremmen/vim-ripgrep/pull/56

After the PR is merged, you'll want to reinstall the plugin or just re-checkout the master branch with git checkout master and pull from origin with git pull origin master

Trid-collab commented 3 years ago

@tsullivan thank you very much for your guidance. Its working now

samgranieri commented 2 years ago

@jremmen neovim 0.6 was just released, and this bit me on arch linux. Could you kindly merge this? I'm using the solution from @tsullivan