mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
Allow initialization options to be passed to language servers
This commit is contained in:
@@ -16,9 +16,10 @@ Execute(ale#lsp#message#Initialize() should return correct messages):
|
||||
\ 'processId': getpid(),
|
||||
\ 'rootPath': '/foo/bar',
|
||||
\ 'capabilities': {},
|
||||
\ 'initializationOptions': {'foo': 'bar'},
|
||||
\ }
|
||||
\ ],
|
||||
\ ale#lsp#message#Initialize('/foo/bar')
|
||||
\ ale#lsp#message#Initialize('/foo/bar', {'foo': 'bar'})
|
||||
|
||||
Execute(ale#lsp#message#Initialized() should return correct messages):
|
||||
AssertEqual [1, 'initialized'], ale#lsp#message#Initialized()
|
||||
|
||||
Reference in New Issue
Block a user