diff options
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/javascript/tsserver.vim | 2 | ||||
-rw-r--r-- | ale_linters/typescript/tsserver.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/javascript/tsserver.vim b/ale_linters/javascript/tsserver.vim index 6cf08dd6..63509022 100644 --- a/ale_linters/javascript/tsserver.vim +++ b/ale_linters/javascript/tsserver.vim @@ -12,6 +12,6 @@ call ale#linter#Define('javascript', { \ 'node_modules/.bin/tsserver', \ ]), \ 'command': '%e', -\ 'project_root_callback': {-> ''}, +\ 'project_root_callback': 'ale#handlers#tsserver#GetProjectRoot', \ 'language': '', \}) diff --git a/ale_linters/typescript/tsserver.vim b/ale_linters/typescript/tsserver.vim index bac63229..7dc8fa85 100644 --- a/ale_linters/typescript/tsserver.vim +++ b/ale_linters/typescript/tsserver.vim @@ -12,6 +12,6 @@ call ale#linter#Define('typescript', { \ 'node_modules/.bin/tsserver', \ ]), \ 'command': '%e', -\ 'project_root_callback': {-> ''}, +\ 'project_root_callback': 'ale#handlers#tsserver#GetProjectRoot', \ 'language': '', \}) |