diff options
author | w0rp <devw0rp@gmail.com> | 2018-07-24 10:05:44 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-07-24 10:05:44 +0100 |
commit | d368f090aeeca3545dd03b1bfe4bff5e6a95d7e2 (patch) | |
tree | 01cb50e7de53bd94f162a59bdefb0a21c08699e6 /ale_linters/haskell/ghc-mod.vim | |
parent | 95be2bf1ff9221eb74dc028ca616412305b2bc85 (diff) | |
download | ale-d368f090aeeca3545dd03b1bfe4bff5e6a95d7e2.zip |
#1754 Require snake_case names for linters in the codebase
Diffstat (limited to 'ale_linters/haskell/ghc-mod.vim')
-rw-r--r-- | ale_linters/haskell/ghc-mod.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ale_linters/haskell/ghc-mod.vim b/ale_linters/haskell/ghc-mod.vim index 1b15d8c2..eb032f50 100644 --- a/ale_linters/haskell/ghc-mod.vim +++ b/ale_linters/haskell/ghc-mod.vim @@ -2,14 +2,16 @@ " Description: ghc-mod for Haskell files call ale#linter#Define('haskell', { -\ 'name': 'ghc-mod', +\ 'name': 'ghc_mod', +\ 'aliases': ['ghc-mod'], \ 'executable': 'ghc-mod', \ 'command': 'ghc-mod --map-file %s=%t check %s', \ 'callback': 'ale#handlers#haskell#HandleGHCFormat', \}) call ale#linter#Define('haskell', { -\ 'name': 'stack-ghc-mod', +\ 'name': 'stack_ghc_mod', +\ 'aliases': ['stack-ghc-mod'], \ 'executable': 'stack', \ 'command': 'stack exec ghc-mod -- --map-file %s=%t check %s', \ 'callback': 'ale#handlers#haskell#HandleGHCFormat', |