mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-25 21:41:10 +08:00
Add Neovim TCP connections to language servers
Support TCP connections to language servers through Neovim's built in client. In all but what is currently the nightly builds of Neovim connections via a hostname will fail, but connections via an IP address should function. We will still enable the built in Neovim client by default anyway, as LSP clients very rarely connect over TCP.
This commit is contained in:
9
test/lsp/test_lsp_address_split.vader
Normal file
9
test/lsp/test_lsp_address_split.vader
Normal file
@@ -0,0 +1,9 @@
|
||||
Execute(Address splitting should function as intended):
|
||||
AssertEqual ['foo', v:null], ale#lsp#SplitAddress('foo')
|
||||
AssertEqual ['foo:', v:null], ale#lsp#SplitAddress('foo:')
|
||||
AssertEqual ['foo', v:null], ale#lsp#SplitAddress('foo:0')
|
||||
AssertEqual ['foo', 123], ale#lsp#SplitAddress('foo:123')
|
||||
AssertEqual ['protocol:/foo:', v:null], ale#lsp#SplitAddress('protocol:/foo:')
|
||||
AssertEqual ['protocol:/foo', v:null], ale#lsp#SplitAddress('protocol:/foo:0')
|
||||
AssertEqual ['protocol:/foo', 123], ale#lsp#SplitAddress('protocol:/foo:123')
|
||||
AssertEqual ['protocol:foo', v:null], ale#lsp#SplitAddress('protocol:foo')
|
||||
Reference in New Issue
Block a user