From bb775e4e22d1880bd015fbc3ea7fa203c9eeb6f9 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 7 Apr 2018 22:50:26 +0100 Subject: Fix #1479 - Respect g:hdevtools_options for hdevtools --- ale_linters/haskell/hdevtools.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters') 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') -- cgit v1.2.3