Skip to content
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

How can I issue a request to a LSP endpoint that contains underscore? #23

Closed
kostya9 opened this issue Sep 29, 2024 · 1 comment
Closed

Comments

@kostya9
Copy link

kostya9 commented Sep 29, 2024

The C# LSP server (Omnisharp) contains an endpoint for tests discovery (o#/v2/discover_tests), and it contains an underscore. As far as I can see, all underscores are replaced to slashes, so I can't do something like:

	local err, result = client.request['o#_v2_discover_tests'](lsp_request)

Is there a way to instruct the client to not replace the last underscore?

@kostya9
Copy link
Author

kostya9 commented Sep 29, 2024

Nevermind, the endpoint was discovertests without an underscore, I was just confused for a little while 😄

@kostya9 kostya9 closed this as completed Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant