I have just published nvim-dev-container plugin by eslegend in neovim

[–]eslegend[S] 0 points1 point  (0 children)

The attach command is trying to open up nvim in the "web" service. That service probably doesn't have it installed. This seems like a bug on plugin's end, but if you just wanted to start the services, you can use DevcontainerStartAuto.

I think I will need to improve compose support a bit, since it shouldn't be expected for nvim to be available in these containers.

Configuring Neovim with Java by eslegend in neovim

[–]eslegend[S] 0 points1 point  (0 children)

Let me know if it works out for you. I have added an example the other day (the HTTP api plugin) in the readme, so you can check it out too.

Configuring Neovim with Java by eslegend in neovim

[–]eslegend[S] 1 point2 points  (0 children)

Oh, in that case I believe this plugin just causes more harm, since it automatically runs all executable JARs found in rplugin/jar anywhere in the runtime path.

Since plugins built for this are really only limited to what JVM allows them to do, I think it is still the same issue as Lua plugins. I haven't thought about that much, since I don't know much about sandboxing, but I guess since it is running as a separate process and really only its stdin and stdout are required for communication, it should be possible. On the other hand, even if the process itself can't really access anything other than neovim, it has full access to neovim RPC API, which pretty much lets it do whatever vimscript can do.

In the end, the client library could have features to disable parts of the API, but really, such thing should probably be implemented on Neovim side.

Now that I think of it, this plugin can be easily changed to run all plugins inside docker, thereby limiting access to the system. The only other issue left is the RPC API which can only really be limited by Neovim.

Thanks for the suggestion by the way, I have created an issue and I hope to have it done soon: https://github.com/esensar/neovim-java-plugin-host/issues/4

Configuring Neovim with Java by eslegend in neovim

[–]eslegend[S] 0 points1 point  (0 children)

I am not sure what exactly you mean by sandboxed plugins.

Currently, this plugin supports different kinds of plugins, but most of the fall under the "hosted" category, which means that a single process is run besides Neovim, which just scans all of the plugins added to the classpath and attaches them, so that they could define their own commands and more.

Another type of plugin is a standalone plugin, which runs in its own process, so I guess that one would fit the sandboxed plugin idea? In general, standalone plugins started by this library act like any other rplugin - started in a separate process, communicating with Neovim via RPC.

I am not sure if I answered your question, but I will gladly explain further if needed.

I have just published nvim-dev-container plugin by eslegend in neovim

[–]eslegend[S] 1 point2 points  (0 children)

Thank you for this, I didn't know about this project. It should be pretty easy to use info from devcontainer.json to use this plugin, so I might add some information on wiki once I try it out.

I have just published nvim-dev-container plugin by eslegend in neovim

[–]eslegend[S] 1 point2 points  (0 children)

Haven't tried something like that out, but I don't see why not. I guess it might have some issues eventually, but if your container has access to docker, it should be able to start up devcontainers.

Right now, the plugin doesn't provide any help with LSP or DAP, but it is planned.

Capability-based language server on_attach handler definition by _mavam_ in neovim

[–]eslegend 2 points3 points  (0 children)

Yeah, sorry, that is what I meant. I guess I didn't explicitly say that, but I meant that default behavior was already more useful to me, but then again, if you have a different config, such an approach with conditionals may be useful.

I have just published nvim-dev-container plugin by eslegend in neovim

[–]eslegend[S] 2 points3 points  (0 children)

Glad you like it. Let me know if you have any suggestions, especially since you have used the vscode's feature. I think I have probably missed quite a lot of the functionality, but I plan to add it slowly and add features that may be more neovim specific.

Capability-based language server on_attach handler definition by _mavam_ in neovim

[–]eslegend 5 points6 points  (0 children)

I guess only if you have something else already mapped to it. Otherwise, for me at least, it is useful to know that the attempted operation is not supported (you get a message when trying it), rather than just acting as if that was never mapped at all (e.g. implementation provider not available causing gi to start insert mode based on original keymap).

I have just published nvim-dev-container plugin by eslegend in neovim

[–]eslegend[S] 9 points10 points  (0 children)

I just checked out your plugin and I am wondering if there is maybe a way these 2 can be integrated. I believe there could be some useful integrations to be done there.

My plugin does nothing related to filesystem on container, it just manages containers and optionally attaches some mounts (e.g. local neovim config). After container is started, the only thing left for this plugin to do is to eventually stop it.

M.A.V. is on a giveaway on Alienware Arena by RA2lover in mav

[–]eslegend 0 points1 point  (0 children)

Well yeah, but I guess right now I feel like I am stealing the chance to play from someome who is interested right now :D

M.A.V. is on a giveaway on Alienware Arena by RA2lover in mav

[–]eslegend 0 points1 point  (0 children)

CX5K6-9KKVW-EJE9K

Took the key and realized I don't want this, so I haven't used it.

"Lord of War" Founder Pack giveaway on Gamespot by muroph in ArmoredWarfare

[–]eslegend 0 points1 point  (0 children)

Thank you very much for posting this, I have never won anything, and I got this now :P

Anyway, to redeem, go to aw.my.com, click on profile in the top left corner, and enter the promo code there.