Commit Graph

30 Commits

Author SHA1 Message Date
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
5429d24a59 Phpmd: fix broken regex used for syntax highlighting. 2015-01-12 13:20:52 +02:00
LCD 47
be01caceb3 Phpcs: fix column handling.
Reference: http://pear.php.net/manual/en/package.php.php-codesniffer.config-options.php#package.php.php-codesniffer.config-options.php-codesniffer.tab-width
2015-01-09 23:13:51 +02:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
650c7368e9 Discourage people from looking at the sources for user docs. 2014-11-21 10:01:24 +02:00
LCD 47
83b6d6a587 The php checkers needs "guards" postprocessing. 2014-09-04 13:23:48 +03:00
LCD 47
18a185be78 PHPLint: fix syntax highlighting. 2014-08-28 10:25:38 +03:00
LCD 47
0be8cdd631 New checker for PHP: PHPLint. 2014-08-28 09:56:13 +03:00
LCD 47
653a02a4c1 Some versions of phcs produce an extra column: fix errorformat. 2014-05-07 20:53:02 +03:00
LCD 47
da6520c69f \V<pattern> regexps can spell trouble if <pattern> contains backslashes. 2014-03-09 22:21:29 +02:00
LCD 47
bb8e259e31 phpcs: move --tab-width to args. 2014-02-18 08:53:24 +02:00
LCD 47
5303cabf8a phpmd: make options mutable. Cleanup. 2014-02-14 21:47:30 +02:00
LCD 47
b399a5e4a6 phpcs: fix detection of column numbers. 2014-02-03 19:36:15 +02:00
LCD 47
44d7ffd7e0 makeprgBuild() refactor: add *_before and *_after options. 2014-01-28 21:44:44 +02:00
LCD 47
f1aae5c5cc Minor bug fix: string length calculations. 2014-01-09 20:06:55 +02:00
LCD 47
063ee82aaf Fix for pilot error. ;) 2014-01-03 14:04:55 +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
95aab2530e Try to avoid fun with magic / nomagic by qualifying regexps. 2013-10-25 15:46:16 +03:00
LCD 47
d3354f175c Make syntastic#makeprg#build() aware of filetypes. Fixes #667. 2013-05-31 21:05:45 +03:00
Martin Grenfell
602bbe7b24 break down some error format strings
Most errorformats are now expressed 1 "clause" per line.
2013-05-14 17:36:20 +01:00
LCD 47
8f75fd547c php/php: prevent xdebug.cli_color from messing with checks. 2013-04-02 11:03:01 +03:00
LCD 47
7846502a95 Added a syntax highlighting function. 2013-03-18 14:08:05 +02:00
LCD 47
ff3c05a413 Fix syntax highlighting.
The variable force_highlight_callback is gone.

Highlight functions are now consistently named
SyntaxCheckers_<filetype>_<checker>_GetHighlightRegex(), and they
take precedence over highlighting based on column.
2013-03-08 14:45:57 +00:00
Martin Grenfell
16424e5761 add guards to all checkers
goddamn I love macros
2013-02-21 15:50:41 +00:00
Martin Grenfell
653611ccac split up php checker into php, phpmd and phpcs 2013-01-31 17:31:40 +00:00
Martin Grenfell
a06632a1ac Merge branch 'refactor_checker_structure' into merge-with-refactor
Conflicts:
	syntax_checkers/cpp/gpp.vim
	syntax_checkers/objc/gcc.vim
2013-01-31 10:43:22 +00:00
Martin Grenfell
e0b8e87c93 refactor all the syntax checkers to use the new API and dir layout 2013-01-27 20:08:30 +00:00