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)