Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

neovim #385

Open
vhakulinen opened this issue Jan 24, 2015 · 27 comments
Open

neovim #385

vhakulinen opened this issue Jan 24, 2015 · 27 comments

Comments

@vhakulinen
Copy link

Is there any plans to make eclim work with neovim? (and with async support)

@ervandew
Copy link
Owner

Not currently, but once it looks like it has stabilized for a bit, I was planning on taking some time to evaluate it. One thing I do want to avoid is having to maintain integrations for multiple editors. I'd rather just devote my time towards the best one.

@danihodovic
Copy link

How is the evaluation going?

@rkannan82
Copy link
Contributor

I am going to take a look at what it takes to get it working with neovim. I will update after couple of weeks. I will be using this branch to track the changes: https://github.com/rkannan82/eclim/tree/neovim

@jasper-lyons
Copy link

I've been running eclim on neovim with no problems for a month now.

(Though obviously it blocks the UI sometimes, as with vim)

@rkannan82
Copy link
Contributor

Yup. It works fine without any issues. The goal is to use neovim capabilities to do async processing for time consuming operations such as building the project, updating the window with error/warning marks, etc.

@phcerdan
Copy link

phcerdan commented Oct 5, 2015

How is this going? The async build with neovim is gonna be amazing for Eclim. I use the CDT plugin (c++) and I love it, but usually I have to stop eclim because the freezing at build time.

@vito-c
Copy link

vito-c commented Oct 6, 2015

+1

@JulioJu
Copy link

JulioJu commented Oct 25, 2015

Please, how do you use Eclim in NeoVim. I'm on Arch Linux, and with the same Vimrc, Eclim works fine with Vim, but not with Neovim. Eclim is not loaded in Neovim, and when I write « :PingEclim » in Neovim, I have « E492: Not an editor command: PingEclim ».

@justinmk
Copy link

@juanes852 Just a sanity check, did you follow https://neovim.io/doc/user/vim_diff.html#nvim-configuration ?

@JulioJu
Copy link

JulioJu commented Oct 25, 2015

@justinmk I followed https://neovim.io/doc/user/nvim_from_vim.html : ~/.nvimrc and ~/.nvim are symbolic links, and I use some « if [!]has('nvim') » to use Deoplete in Neovim and Neocomplete in Vim. If I usn't symbolic links, I have the same error. Do you have specific configurations to use Eclim in Neovim ?

@phcerdan
Copy link

@juanes852 Eclim works out the box in neovim for me. Might be unrelated with your problem but if anyone is having problems setting Eclim up within neocompleteme, someone posted a workaround here: https://www.reddit.com/r/vim/comments/30phfv/neocomplete_and_eclim_not_working_well_together/

@JulioJu
Copy link

JulioJu commented Oct 26, 2015

@phcerdan, thanks, but is not the problem because when I use a minimalistic .vimrc, I have the same error.

I think I've found the bug. When you install Eclim with « Web Developper Tools Support », Eclim doesn't work with Neovim, Eclim is not detected. Did you have the same problem ? With only Java support, Eclim works well for me in Neovim.

@JulioJu
Copy link

JulioJu commented Nov 21, 2015

Finally, I've found the problem, under Arch Linux, you must install the Aur package. Then, ln -s /usr/share/vim/vimfiles/{eclim, plugin} ~/.vim. On my comuputers on Archlinux, there is a problem with eclim_2.5.0.jar with Neovim (of course, I've tried to download it again).

@JulioJu
Copy link

JulioJu commented Feb 13, 2016

I've seen there is a problem with interactive Java programs, and Java programms with infinite loops. We can see on https://github.com/neovim/neovim/wiki/Troubleshooting « Interactive commands are supported by the :terminal command in Neovim. However, :! and system() do not support interactive commands ».

Please, could you implement a solution to send output of command Java % not in the Quickfix but in the Terminal in Neovim (if has('nvim') […] endif) ?

I think, this new command Java %» for Neovim could use asynchronous plugin Neomake with eclim as « makers » ?

Thanks in advance

@tnguyen14
Copy link

Does anyone know how I can install it to work with neovim? I've run the installer once, and it's working in vim for me, but there's no PingEclim command in neovim.

@JulioJu
Copy link

JulioJu commented Jul 1, 2016

@tnguyen14 just sanity check, have you follow :help nvim-from-vim ?

@tnguyen14
Copy link

@JulioJu thanks I'll try to symlink ~/.vim to ~/.config/nvim.

@ttiurani
Copy link

Async support for neovim/neomake would be so useful to me now, that I might find time to work on this. Are there any preliminary ideas anywhere @ervandew as to how this should be implemented?

@mvalkon
Copy link

mvalkon commented May 31, 2017

@ttiurani async support would be so nice. 👍 if you are going to do it

@Cypher1
Copy link

Cypher1 commented Jul 28, 2017

Wondering how this is going and what needs to be done to get eclim with neovim working now.
I have had some trouble installing it and have decided (until I learn more) that I should just use Ant builds and artur-shaik/vim-javacomplete2 (with deoplete) for autocompleting.

Thanks

@vhakulinen
Copy link
Author

vhakulinen commented Jul 28, 2017

@Cypher1 and everyone else:

FYI: Language Server might change the playground quite a bit. IIRC there even are some plans to support it out-of-the-box in neovim. Also iirc vscode uses that system.

@componhead
Copy link

Hi. Eclim seems doesn't work with neovim; there is a planning about compatibility?

thank you

@JulioJu
Copy link

JulioJu commented Oct 24, 2017

@componhead Eclim works perfectly with Neovim. Have you seen :help nvim-from-vim ?

@componhead
Copy link

componhead commented Oct 25, 2017

@JulioJu Mmmh. Yes I did.

I have some problems with installation. I dont' have vim or gvim installed, only nvim (reinstalled many times). My configuration (https://github.com/componhead/dotfiles/blob/master/.config/nvim/)
This is my stack flow

eclim-issue.txt

What's wrong with it?

Thank you

@JulioJu
Copy link

JulioJu commented Oct 26, 2017

@componhead , in your file eclim-issue.txt, at line 8, we could read "java.io.IOException: Cannot run program "gvim": error=2, No such file or directory"

Probably eclim neads gvim to be installed. So, try to install it (sudo apt-get install gvim).

Gvim is mandatory for this case : http://eclim.org/eclimd.html#gvim-embedded. But you could use Eclim with Neovim in cases http://eclim.org/eclimd.html#eclimd-headless and http://eclim.org/eclimd.html#eclimd-headed.

@componhead
Copy link

I installed vim-gtk3 but without luck (gvim doesn't exist anymore on my sources).

It crash building too.
eclim-building.txt

@JulioJu
Copy link

JulioJu commented Nov 3, 2017

@componhead. With Eclipse Oxygen, you must use Eclim 2.7.0 and not Eclim 2.6.0 as you have done (see lines 23 and 24 of your file). See http://eclim.org/install.html.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests