-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remap file paths between LSP server and Vim #1524
Comments
Have you tried
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use
clangd
installed in apodman
container. I've configured it so that running the language server is done by the "podman run" commandline:But the (obvious) problem is that file paths for the system headers is different inside the container and in Vim.
I can mount any container's directory to anywhere on my host, with an exception that most of the time it will not be the same path, so I'm wondering: does vim-lsp support filename remapping from/to what the LSP generates/expects?
For example, some function that would convert a path sent to the LSP, and another function that would convert a path got from LSP? That would probably be enough for me (I think) to use an LSP installed inside podman container.
The text was updated successfully, but these errors were encountered: