Commit Graph

13 Commits

Author SHA1 Message Date
Benjamin Hipple
118d4be9b8 Support new HLint version 2016-02-28 01:27:07 -05:00
Matvey Aksenov
8164240f6f Hlint: handle hint file parsing errors.
When hints (including those in ANN pragmas in Haskell source) fail to
parse, Hlint uses a different error format.
2015-09-15 22:49:54 +03:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
841087faba Hlint: fix column calculations. 2014-04-10 09:00:13 +03:00
Daniel Trstenjak
7bd9b98342 Always give absolute paths to syntax checkers 'hdevtools' and 'hlint'
Especially for 'hdevtools' this results into a more robust behaviour,
because 'hdevtools' starts a background process and changing the
current directory doesn't affect the current directory of the background
process.
2014-04-05 15:47:20 +02:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
LCD 47
6d81ac5dd0 Registry cleanup, stage 3.
Make syntastic#makeprg#build() a dictionary function.
Remove the mandatory checker argument to syntastic#makeprg#build().
2013-11-02 10:44:06 +02:00
LCD 47
3694908d05 Registry cleanup, stage 2.
(1) Checkers now have an _exec attribute, and an accessor getExec().
(2) CreateAndRegisterChecker() initializes _exec from an optional argument
'exec'.  If this argument is missing, 'name' is used instead.
(3) Functions SyntaxCheckers_*_IsAvailable() are now dictionary functions.
(4) Functions SyntaxCheckers_*_IsAvailable() are now optional.  When
they are missing, they are assumed to return executable(expand(self.getExec())).
(5) Argument 'exe' of function syntastic#makeprg#build() is now optional.
If this argument is missing, expand(self.getExec()) is used to set checker
executables.
2013-11-02 10:44:06 +02:00
LCD 47
28bce98a68 Registry cleanup, stage 1.
Make SyntaxCheckers_*_GetLocList() dictionary functions.
Pass a reference to the current checker to syntastic#makeprg#build().
Add an optional 'redirect' argument to CreateAndRegisterChecker().
Change the sh checker to use the new dictionary functions.
Add a new registry method getLocListRaw() (needed for the sh checker).
2013-11-02 10:44:06 +02:00
LCD 47
7eda5de0ca Haskell cleanup.
Make the "compressWhitespace" filter kill \001 characters.
Make the ghc-mod checker use the "compressWhitespace" filter.
Minor formatting of the hlint checker.
2013-08-12 22:46:20 +03:00
Nicolas Wu
ecb5a88026 Compress whitespace 2013-07-29 16:14:36 +01:00
Nicolas Wu
d92a4b79d9 Simplify errorformat 2013-07-29 16:06:09 +01:00
Nicolas Wu
f9302bbb32 Add hlint support 2013-07-29 12:52:22 +01:00