Commit Graph

67 Commits

Author SHA1 Message Date
David Barnett
dcac33ecc0 Set g:loaded_FOO_syntax_checker in syntastic.vim, not every ft file. 2012-11-26 21:44:43 -08:00
Daniel Walker
e6259f9010 Add sparse as a new C syntax checker. 2012-09-26 17:30:29 -07:00
Daniel Walker
eef0180f8b Add a syntax checker for the Linux kernel checkpatch.pl utility.
I modified the C checker so checkpatch could be given as an alternate
checker for C files.
2012-09-06 18:41:09 -07:00
kongo2002
2f69e0b757 extend C errorformat 2012-07-06 00:54:40 +02:00
Yuri Bochkarev
aaacd75d21 Let user configure errorformat string in c/cpp syntax checkers. 2012-07-06 00:23:31 +02:00
ldx
2ef26e11e9 Fix makeprg construction.
Add space before appending the result of ReadConfig() to makeprg.
2012-03-28 14:22:17 +02:00
kongo2002
c791c3103e add ReadConfig support to C syntax checker 2012-03-27 22:26:15 +02:00
kongo2002
adedb47ad7 refactoring of GetIncludeDirs() for C/C++ 2012-03-11 19:55:01 +01:00
kongo2002
6ce5880b81 set default C compiler options 2012-03-11 19:40:53 +01:00
kongo2002
c11c97da8b fix compiler options for C as well 2012-03-11 19:35:52 +01:00
kongo2002
8e2634ae7e add include directory functionality to cpp 2012-03-04 19:59:26 +01:00
kongo2002
138e48c275 C: readd default include dirs 2011-12-18 19:05:40 +01:00
kongo2002
18073102b3 C: option to remove errors from included files (#70) 2011-12-18 18:59:24 +01:00
kongo2002
5accceb04a C: add some explanatory comments 2011-12-18 18:25:07 +01:00
kongo2002
309652c840 C: modify the default include directories 2011-12-18 18:24:28 +01:00
kongo2002
58e65d99a4 C: remove duplicates in include directories 2011-12-18 18:09:27 +01:00
Martin Grenfell
319b8f2cb8 shift all the c helper functions into their own autoload lib file
This is mainly just for namespacing purposes and to set a pattern for
future helper lib functions.
2011-11-30 22:13:16 +00:00
Fjölnir Ásgeirsson
3826391e7d Changed the C syntax checker to use GNU99 (as opposed to GNU89).
Conflicts:

	syntax_checkers/c.vim
2011-11-24 23:30:40 +00:00
kongo2002
e220e1d8e6 remove unnecessary Init() from c syntax checker 2011-10-25 22:48:19 +02:00
Martin Grenfell
b921b90aa5 Merge remote-tracking branch 'kongo/cpp_autoload'
Conflicts:
	syntax_checkers/c.vim
2011-10-25 11:24:33 +01:00
kongo2002
48c0b59a28 add possibility to add compiler options like '-std=c++0x' 2011-09-09 21:55:04 +02:00
kongo2002
fc4181c256 tweak autoload file 2011-09-09 21:36:36 +02:00
kongo2002
3d77ad2c4d move c/cpp syntax helper functions into autoload 2011-09-09 21:31:45 +02:00
kongo2002
bb834f38e5 extend default includes 2011-08-07 14:38:55 +02:00
kongo2002
c13ff43d4e remove debug print 2011-08-07 14:37:34 +02:00
kongo2002
f50116f31c c syntax checker: add doc 2011-08-07 14:25:42 +02:00
kongo2002
eb8f243a29 add possibility to add custom include directories 2011-08-07 14:22:32 +02:00
Brandon Waskiewicz
d9ba6d7963 [PATCH] Tweaked c syntax checker errorformat
Added a more specific c syntax checker errorformat before the more
general ones so the jumping is not broken by assuming the line number is
a part of the file.

Signed-off-by: kongo2002 <kongo2002@googlemail.com>
2011-06-19 21:25:53 +02:00
kongo2002
f9853e6c00 don't trust pkg-config exit code 2011-02-09 20:02:48 +01:00
kongo2002
c75689037d search for gtk and glib separately 2011-02-09 19:58:56 +01:00
kongo2002
85f11ca138 improve c errorformat 2011-02-07 03:39:29 +08:00
kongo2002
c76531336e c syntax_checker: major performance improvements 2010-10-23 03:39:42 +08:00
kongo2002
f57fcb4160 c syntax_checker: add current and parent directory to includes 2010-10-23 03:39:41 +08:00
kongo2002
c94e60fa5f fix multi-line expression 2010-09-25 14:26:56 +08:00
kongo2002
f822e3a9ca fine-tune c errorformat 2010-09-25 14:26:55 +08:00
Jeremy Cantrell
c61890f1b7 Properly escape % for makeprg 2010-09-24 10:48:49 +08:00
kongo2002
e45183a71d c syntax_checker: fix php extension 2010-08-13 05:56:53 +08:00
Joël Perras
0570e0605d C syntax checker: add PHP extension support. 2010-08-13 05:56:52 +08:00
kongo2002
ac5f550a80 c syntax_checker: rename option 2010-08-03 18:32:00 +08:00
kongo2002
7cc4ead065 c syntax_checker: improve option check 2010-08-03 18:31:59 +08:00
kongo2002
fe69005a9a c syntax_checker: modify documentation 2010-08-03 18:31:58 +08:00
kongo2002
15e3fd54ae c syntax_checker: cache header includes by default 2010-08-03 18:31:57 +08:00
kongo2002
0de9db82b4 c syntax_checker: add support for sdl/opengl 2010-06-24 13:20:07 +08:00
kongo2002
33545a47b4 c syntax_checker: add further library handlers 2010-06-24 13:20:07 +08:00
kongo2002
b4f7a6e061 c syntax_checker: add WebKitGtk+ support 2010-06-24 13:20:06 +08:00
kongo2002
6c0ddde164 c syntax_checker: add libsoup support 2010-06-24 13:20:05 +08:00
kongo2002
faef18d981 c syntax_checker: modify 'pkg-config' handler 2010-06-24 13:20:05 +08:00
kongo2002
5166c7f26e make wrapping possible by resetting 'cpo' 2010-06-24 13:20:03 +08:00
kongo2002
4089f7d82e c syntax_checker: match case 2010-06-24 13:20:01 +08:00
kongo2002
101955648e c syntax_checker: add support for glade 2010-06-24 13:20:01 +08:00