summaryrefslogtreecommitdiff
path: root/ale_linters/ocaml
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-15 12:52:08 +0100
committerw0rp <devw0rp@gmail.com>2017-04-15 12:52:08 +0100
commitcab68cba250fb81a4d20ffd637925a708bb46e8a (patch)
tree14a917e41e977aa5cd591ebdb2a2eda7c29530f3 /ale_linters/ocaml
parentc9a5d9845b9bff9174c4bb3b67a9f7bfda190ee6 (diff)
downloadale-cab68cba250fb81a4d20ffd637925a708bb46e8a.zip
Make code more consistent
Diffstat (limited to 'ale_linters/ocaml')
-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',
\})
-