lspcontainers / lspcontainers.nvim

Neovim plugin for lspcontainers.
Apache License 2.0
313 stars 34 forks source link

Solution for project packages #82

Closed marticols closed 1 year ago

marticols commented 2 years ago

Since my dev environment runs into a docker container, my LSP is unable to find the project packages and had to install the LSP locally. This nvim package solves the second issue, but still misses a solution for getting project packages. I have done a temporal solution at my config https://github.com/lspcontainers/dockerfiles/pull/46#issuecomment-1157714332.

I think this issue affects all the languages that use packages. I would like to start a discussion if these issue has to be solved at the package.

erikreinert commented 1 year ago

I believe I understand your problem - however to fix this properly it will require a rewrite to the main plugin itself. Changes in the upcoming rewrite ARE currently proposed to help solve this problem around using more manageable volume support.

I will include this PR in the proposal issue I create. Thank you for contributing!

erikreinert commented 1 year ago

To be included in #92