diff options
-rw-r--r-- | autoload/ale/lsp/message.vim | 2 | ||||
-rw-r--r-- | test/lsp/test_lsp_client_messages.vader | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/lsp/message.vim b/autoload/ale/lsp/message.vim index 646dbd20..4ad94c4b 100644 --- a/autoload/ale/lsp/message.vim +++ b/autoload/ale/lsp/message.vim @@ -159,7 +159,7 @@ function! ale#lsp#message#Hover(buffer, line, column) abort endfunction function! ale#lsp#message#DidChangeConfiguration(buffer, config) abort - return [0, 'workspace/didChangeConfiguration', { + return [1, 'workspace/didChangeConfiguration', { \ 'settings': a:config, \}] endfunction diff --git a/test/lsp/test_lsp_client_messages.vader b/test/lsp/test_lsp_client_messages.vader index e0e2ef20..2abdf6ca 100644 --- a/test/lsp/test_lsp_client_messages.vader +++ b/test/lsp/test_lsp_client_messages.vader @@ -206,7 +206,7 @@ Execute(ale#lsp#message#DidChangeConfiguration() should return correct messages) \ } AssertEqual \ [ - \ 0, + \ 1, \ 'workspace/didChangeConfiguration', \ { \ 'settings': { |