neovim/test/functional/plugin/lsp
Tristan Knight 45e76acaa0
feat(lsp): support hostname in rpc.connect #30238
Updated the `rpc.connect` function to support connecting to LSP servers
using hostnames, not just IP addresses. This change includes updates to
the documentation and additional test cases to verify the new
functionality.

- Modified `connect` function to resolve hostnames.
- Updated documentation to reflect the change.
- Added test case for connecting using hostname.

Added a TCP echo server utility function to the LSP test suite. This
server echoes the first message it receives and is used in tests to
verify LSP server connections via both IP address and hostname.
Refactored existing tests to use the new utility function.
2024-09-03 08:10:39 -07:00
..
codelens_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
completion_spec.lua docs: misc #28970 2024-09-01 13:01:24 -07:00
diagnostic_spec.lua refactor(lsp): add test case for default diagnostic severity 2024-08-02 11:20:37 +02:00
handler_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
incremental_sync_spec.lua fix(lsp): prevent desync due to empty buffer (#29904) 2024-07-31 16:18:24 +02:00
inlay_hint_spec.lua fix(lsp): inlay hints are rendered in the correct order (#29707) 2024-07-17 16:44:53 +02:00
semantic_tokens_spec.lua refactor(lsp): use metatable for buf_versions (#29304) 2024-06-14 11:03:58 +02:00
snippet_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
testutil.lua feat(lsp): support hostname in rpc.connect #30238 2024-09-03 08:10:39 -07:00
utils_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00