summaryrefslogtreecommitdiff
path: root/test/lsp/test_did_save_event.vader
diff options
context:
space:
mode:
authorsridhars <sridhars@users.noreply.github.com>2018-07-24 16:42:26 -0500
committerGitHub <noreply@github.com>2018-07-24 16:42:26 -0500
commit4446cf15bea403204b5097f1bfc74267af32553c (patch)
tree325b0370a3b511efa2a498ee6959fe16c56c1b20 /test/lsp/test_did_save_event.vader
parent0da4c6e4ad009a37b482d301a19b6d024aa0ae0a (diff)
parent341857477011f703664b31d8d76f6872f8399c66 (diff)
downloadale-4446cf15bea403204b5097f1bfc74267af32553c.zip
Merge pull request #1 from w0rp/master
update
Diffstat (limited to 'test/lsp/test_did_save_event.vader')
-rw-r--r--test/lsp/test_did_save_event.vader6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/lsp/test_did_save_event.vader b/test/lsp/test_did_save_event.vader
index b696ee4b..428135fb 100644
--- a/test/lsp/test_did_save_event.vader
+++ b/test/lsp/test_did_save_event.vader
@@ -14,7 +14,6 @@ Before:
let g:ale_lsp_next_message_id = 1
let g:ale_run_synchronously = 1
let g:message_list = []
- let g:Callback = ''
function! LanguageCallback() abort
return 'foobar'
@@ -34,9 +33,7 @@ Before:
\ })
let g:ale_linters = {'foobar': ['dummy_linter']}
- function! ale#lsp_linter#StartLSP(buffer, linter, callback) abort
- let g:Callback = a:callback
-
+ function! ale#lsp_linter#StartLSP(buffer, linter) abort
let l:conn = ale#lsp#NewConnection({})
let l:conn.id = 347
let l:conn.open_documents = {a:buffer : -1}
@@ -59,7 +56,6 @@ After:
unlet! b:ale_enabled
unlet! b:ale_linters
- unlet! g:Callback
unlet! g:message_list
delfunction LanguageCallback