From cab68cba250fb81a4d20ffd637925a708bb46e8a Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 15 Apr 2017 12:52:08 +0100 Subject: Make code more consistent --- ale_linters/ocaml/merlin.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ale_linters/ocaml') 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', \}) - -- cgit v1.2.3