summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-04-07 22:50:26 +0100
committerw0rp <devw0rp@gmail.com>2018-04-07 22:50:31 +0100
commitbb775e4e22d1880bd015fbc3ea7fa203c9eeb6f9 (patch)
tree3128a58316b84b1b29b3f1abccfb2876681f6a8d /ale_linters
parentc5d3af04fced61a654029a07139faa365c4a8534 (diff)
downloadale-bb775e4e22d1880bd015fbc3ea7fa203c9eeb6f9.zip
Fix #1479 - Respect g:hdevtools_options for hdevtools
Diffstat (limited to 'ale_linters')
-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')