From adc3f614c4004c92f51d661a84b850ded2c757c8 Mon Sep 17 00:00:00 2001 From: Daniel Schuette Date: Thu, 18 Nov 2021 16:39:09 +0100 Subject: [PATCH] update Ale configuration for haskell --- vim-config/configs.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vim-config/configs.vim b/vim-config/configs.vim index adf18319..bdaffef5 100644 --- a/vim-config/configs.vim +++ b/vim-config/configs.vim @@ -507,7 +507,8 @@ let g:ale_linters = { \ 'vim': ['vint'], \ 'elm': ['elm_ls'], \ 'cpp': ['clangtidy', 'gcc'], -\ 'lhaskell': ['stack-build', 'hlint', 'stack-ghc'] +\ 'haskell': ['stack-build', 'hlint', 'stack-ghc', 'hls', 'hie'] +\ 'lhaskell': ['stack-build', 'hlint', 'stack-ghc', 'hls', 'hie'] \} let g:ale_cpp_gcc_options = '-Wall -Wextra -Wpedantic -Weffc++ -std=c++20' @@ -530,6 +531,7 @@ let g:ale_fixers = { \ 'json': ['prettier'], \ 'python': ['isort', 'autopep8'], \ 'elm': ['elm-format'], +\ 'haskell': ['hfmt'], \} " totally possible, but needs configuation: 'cpp': ['clang-format']