jdtsmith / eglot-booster

Boost eglot using lsp-booster
GNU General Public License v3.0
152 stars 3 forks source link

Dose Not Ignore Docker Connections #7

Closed nehrbash closed 6 months ago

nehrbash commented 6 months ago

Apparently a docker tramp connection is not considered a remote file which causes obvious issues when lsp-booster is not installed in the container.

jdtsmith commented 6 months ago

Like a local docker? I don't see why that'd be different from any other local connection. Can you run a system-wide wrapper executable that invokes a mounted docker program? This is with eglot-booster-no-remote-boost enabled?

Also, what does M-: (file-remote-p default-directory) say in a docker-visited file?

nehrbash commented 6 months ago

yes a local docker container. sorry I completely misread eglot-booster-no-remote-boost. I thought it was a internal variable that was dynamically set, not a defcustom. when set to non-nil it dose not boost as expected. In my case it wasn't working because I copied the binary into place and the container has the wrong version of libc. file-remote-p returns "/docker:dev-container:". I guess I'm too accustomed to static binaries at this point 😅.