From c21d6afd2fb799013e3894d393bf976d9da31e65 Mon Sep 17 00:00:00 2001 From: Victor Fernandez <31155293+vabenil@users.noreply.github.com> Date: Sun, 7 Mar 2021 13:20:35 +0200 Subject: [PATCH] Solve #3611 (#3612) Fix dmd not using dub --- ale_linters/d/dmd.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ale_linters/d/dmd.vim b/ale_linters/d/dmd.vim index cc5d8bc6..1a38b89e 100644 --- a/ale_linters/d/dmd.vim +++ b/ale_linters/d/dmd.vim @@ -3,7 +3,7 @@ function! s:GetDUBCommand(buffer) abort " If we can't run dub, then skip this command. - if !executable('dub') + if executable('dub') " Returning an empty string skips to the DMD command. let l:config = ale#d#FindDUBConfig(a:buffer)