Skip to content

Commit

Permalink
update Ale configuration for haskell
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchuette committed Nov 18, 2021
1 parent 3c55722 commit adc3f61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vim-config/configs.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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']

Expand Down

0 comments on commit adc3f61

Please sign in to comment.