summaryrefslogtreecommitdiff
path: root/ale_linters/ocaml/merlin.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/ocaml/merlin.vim')
-rw-r--r--ale_linters/ocaml/merlin.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ale_linters/ocaml/merlin.vim b/ale_linters/ocaml/merlin.vim
index 75cdb126..cfec9966 100644
--- a/ale_linters/ocaml/merlin.vim
+++ b/ale_linters/ocaml/merlin.vim
@@ -2,12 +2,11 @@
" Description: Report errors in OCaml code with Merlin
if !exists('g:merlin')
- finish
+ finish
endif
function! ale_linters#ocaml#merlin#Handle(buffer, lines) abort
- let l:errors = merlin#ErrorLocList()
- return l:errors
+ return merlin#ErrorLocList()
endfunction
call ale#linter#Define('ocaml', {
@@ -16,4 +15,3 @@ call ale#linter#Define('ocaml', {
\ 'command': 'true',
\ 'callback': 'ale_linters#ocaml#merlin#Handle',
\})
-