From 8eb4f95766350b7a1f80eae691f390faee045e6d Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 7 Jul 2017 23:47:41 +0100 Subject: #697 - Clear all highlights every time items are set again, and refactor most things. Clear errors when linters are removed --- test/command_callback/test_javac_command_callback.vader | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/command_callback') diff --git a/test/command_callback/test_javac_command_callback.vader b/test/command_callback/test_javac_command_callback.vader index 2f0bc50e..706839e4 100644 --- a/test/command_callback/test_javac_command_callback.vader +++ b/test/command_callback/test_javac_command_callback.vader @@ -8,7 +8,7 @@ After: call ale#linter#Reset() " We need to clean up the buffer to remove the temporary directories created " for the command. - call ale#cleanup#Buffer(bufnr('')) + call ale#engine#Cleanup(bufnr('')) let g:ale_java_javac_options = '' let g:ale_java_javac_classpath = '' @@ -63,7 +63,7 @@ Execute(The javac callback should combine discovered classpaths and manual ones) \ 'Invalid command string: ' . b:command Execute(The javac callback should detect source directories): - call ale#cleanup#Buffer(bufnr('')) + call ale#engine#Cleanup(bufnr('')) :e! java_paths/src/main/java/com/something/dummy call ale#engine#InitBufferInfo(bufnr('')) @@ -73,7 +73,7 @@ Execute(The javac callback should detect source directories): \ 'Invalid command string: ' . b:command Execute(The javac callback should combine detected source directories and classpaths): - call ale#cleanup#Buffer(bufnr('')) + call ale#engine#Cleanup(bufnr('')) :e! java_paths/src/main/java/com/something/dummy call ale#engine#InitBufferInfo(bufnr('')) -- cgit v1.2.3