summaryrefslogtreecommitdiff
path: root/test/lsp
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-05-10 13:42:41 +0100
committerw0rp <devw0rp@gmail.com>2019-05-10 13:42:41 +0100
commit79e42fed14b35767d53d7d443a644a037e012b89 (patch)
tree9c9c1bef9cda93deeea57506f021a9054632f511 /test/lsp
parentf444abdfe66696505cb891889b18c4144d12d4ea (diff)
downloadale-79e42fed14b35767d53d7d443a644a037e012b89.zip
#2403 - Make ale_disable_lsp apply consistently, and document it better
Diffstat (limited to 'test/lsp')
-rw-r--r--test/lsp/test_did_save_event.vader3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lsp/test_did_save_event.vader b/test/lsp/test_did_save_event.vader
index 423138af..1a60bc9f 100644
--- a/test/lsp/test_did_save_event.vader
+++ b/test/lsp/test_did_save_event.vader
@@ -3,12 +3,15 @@ Before:
Save g:ale_enabled
Save g:ale_linters
Save g:ale_run_synchronously
+ Save g:ale_disable_lsp
call ale#test#SetDirectory('/testplugin/test/completion')
call ale#test#SetFilename('dummy.txt')
runtime autoload/ale/lsp.vim
+ let g:ale_disable_lsp = 0
+ unlet! b:ale_disable_lsp
let g:ale_lint_on_save = 1
let b:ale_enabled = 1
let g:ale_lsp_next_message_id = 1