#2397 - didChangeConfiguration should be a notification

This commit is contained in:
w0rp 2019-04-02 22:00:03 +01:00
parent 5be6a2b4e0
commit 435a072181
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ function! ale#lsp#message#Hover(buffer, line, column) abort
endfunction endfunction
function! ale#lsp#message#DidChangeConfiguration(buffer, config) abort function! ale#lsp#message#DidChangeConfiguration(buffer, config) abort
return [0, 'workspace/didChangeConfiguration', { return [1, 'workspace/didChangeConfiguration', {
\ 'settings': a:config, \ 'settings': a:config,
\}] \}]
endfunction endfunction

View File

@ -206,7 +206,7 @@ Execute(ale#lsp#message#DidChangeConfiguration() should return correct messages)
\ } \ }
AssertEqual AssertEqual
\ [ \ [
\ 0, \ 1,
\ 'workspace/didChangeConfiguration', \ 'workspace/didChangeConfiguration',
\ { \ {
\ 'settings': { \ 'settings': {