emacs-lsp / lsp-docker

Scripts and configurations to leverage lsp-mode in docker environment
GNU General Public License v3.0
241 stars 34 forks source link

fix to opening files with docker-tramp #40

Closed zflat closed 3 years ago

zflat commented 3 years ago

This addresses issue https://github.com/emacs-lsp/lsp-docker/issues/29

Use a consistent docker container name between running the container and the uri->path mapping.

Capture the suffix at the time of registering the client. The same suffix that the container is started with is used when mapping file uri to paths.