summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-07-02 13:25:36 +0100
committerw0rp <devw0rp@gmail.com>2017-07-02 13:25:36 +0100
commit51f256e897891617eb8539c31f0c48e037600de7 (patch)
tree210e120165e290fe58ca6906d791d1450aa1dd77 /ale_linters
parent857ca941d214a65b2168429bcd3b12df26f13a67 (diff)
downloadale-51f256e897891617eb8539c31f0c48e037600de7.zip
Remove the need for pointless callbacks for LSP linters
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/typescript/tsserver.vim5
1 files changed, 0 insertions, 5 deletions
diff --git a/ale_linters/typescript/tsserver.vim b/ale_linters/typescript/tsserver.vim
index df979c6b..465e80c7 100644
--- a/ale_linters/typescript/tsserver.vim
+++ b/ale_linters/typescript/tsserver.vim
@@ -11,14 +11,9 @@ function! ale_linters#typescript#tsserver#GetExecutable(buffer) abort
\])
endfunction
-function! ale_linters#typescript#tsserver#Handle(buffer, lines) abort
- return a:lines
-endfunction
-
call ale#linter#Define('typescript', {
\ 'name': 'tsserver',
\ 'lsp': 'tsserver',
\ 'executable_callback': 'ale_linters#typescript#tsserver#GetExecutable',
\ 'command_callback': 'ale_linters#typescript#tsserver#GetExecutable',
-\ 'callback': 'ale_linters#typescript#tsserver#Handle',
\})