summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/hdevtools.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/hdevtools.vim')
-rw-r--r--ale_linters/haskell/hdevtools.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/haskell/hdevtools.vim b/ale_linters/haskell/hdevtools.vim
index 93c7ddd6..dc902152 100644
--- a/ale_linters/haskell/hdevtools.vim
+++ b/ale_linters/haskell/hdevtools.vim
@@ -2,7 +2,7 @@
" Description: hdevtools for Haskell files
call ale#Set('haskell_hdevtools_executable', 'hdevtools')
-call ale#Set('haskell_hdevtools_options', '-g -Wall')
+call ale#Set('haskell_hdevtools_options', get(g:, 'hdevtools_options', '-g -Wall'))
function! ale_linters#haskell#hdevtools#GetExecutable(buffer) abort
return ale#Var(a:buffer, 'haskell_hdevtools_executable')