artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim
Vim License
973 stars 83 forks source link

I must be misunderstanding "Add to .vimrc:" #396

Closed FaustXVII closed 6 years ago

FaustXVII commented 6 years ago

Actual behavior (Required!)

Error detected while processing /home/pi/.vimrc: line 58: E492: Not an editor command: Plugin 'artur-shaik/vim-javacomplete2' line 59: E492: Not an editor command: NeoBundle 'artur-shaik/vim-javacomplete2' line 60: E492: Not an editor command: Plug 'artur-shaik/vim-javacomplete2' Press ENTER or type command to continue

Expected behavior (Required!)

I expected to see no errors on start-up.

The steps to reproduce actual behavior (Required!)

  1. I made the directory: ~/.vim/bundle
  2. Cloned the project: git clone https://github.com/artur-shaik/vim-javacomplete2.git
  3. Created the file .vimrc and pasted the line Plugin 'artur-shaik/vim-javacomplete2' into it.
  4. Opened a file with vim.
  5. Error message showed up.

Environment (Required!)

Q&A

Screenshot (Optional)

https://imgur.com/a/03Rqcqn

The output of :redir and :message (Optional)

artur-shaik commented 6 years ago

Do you have any plugin managers installed?

FaustXVII commented 6 years ago

I just realized that: pathogen, Vundle, NeoBundleand vim-plugwhere plugin-managers. My issue got solved after reading the Vim-plug manual, thanks.