summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lsp/test_reset_lsp.vader8
-rw-r--r--test/vimrc2
2 files changed, 6 insertions, 4 deletions
diff --git a/test/lsp/test_reset_lsp.vader b/test/lsp/test_reset_lsp.vader
index 4a1a155e..310b3d62 100644
--- a/test/lsp/test_reset_lsp.vader
+++ b/test/lsp/test_reset_lsp.vader
@@ -25,10 +25,10 @@ Before:
call ale#linter#Define('testft', {
\ 'name': 'lsplinter',
\ 'lsp': 'tsserver',
- \ 'executable_callback': 'EmptyString',
- \ 'command_callback': 'EmptyString',
- \ 'project_root_callback': 'EmptyString',
- \ 'language_callback': 'EmptyString',
+ \ 'executable': function('EmptyString'),
+ \ 'command': function('EmptyString'),
+ \ 'project_root': function('EmptyString'),
+ \ 'language': function('EmptyString'),
\})
call ale#linter#Define('testft', {
diff --git a/test/vimrc b/test/vimrc
index 9548f861..018b8f67 100644
--- a/test/vimrc
+++ b/test/vimrc
@@ -35,3 +35,5 @@ set ttimeoutlen=0
execute 'set encoding=utf-8'
let g:mapleader=','
+
+let g:ale_ignore_2_4_warnings = 1