summaryrefslogtreecommitdiff
path: root/test/lsp/test_lsp_command_formatting.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsp/test_lsp_command_formatting.vader')
-rw-r--r--test/lsp/test_lsp_command_formatting.vader6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lsp/test_lsp_command_formatting.vader b/test/lsp/test_lsp_command_formatting.vader
index ec3b4120..2c1e8788 100644
--- a/test/lsp/test_lsp_command_formatting.vader
+++ b/test/lsp/test_lsp_command_formatting.vader
@@ -1,6 +1,10 @@
Before:
+ Save g:ale_command_wrapper
+
runtime autoload/ale/lsp.vim
+ let g:ale_command_wrapper = ''
+
let g:args = []
" Mock the StartProgram function so we can just capture the arguments.
@@ -9,6 +13,8 @@ Before:
endfunction
After:
+ Restore
+
unlet! g:args
runtime autoload/ale/lsp.vim