summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Fernandez <31155293+vabenil@users.noreply.github.com>2021-03-07 13:20:35 +0200
committerGitHub <noreply@github.com>2021-03-07 20:20:35 +0900
commitc21d6afd2fb799013e3894d393bf976d9da31e65 (patch)
treebb06b439238efa79ae503d09efccd51a4386644e
parent8c5081f6316183c97298ec4a819fd94c2a2a9516 (diff)
downloadale-c21d6afd2fb799013e3894d393bf976d9da31e65.zip
Solve #3611 (#3612)
Fix dmd not using dub
-rw-r--r--ale_linters/d/dmd.vim2
1 files changed, 1 insertions, 1 deletions
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)