Commit Graph

11 Commits

Author SHA1 Message Date
LCD 47
8393a3c7a2 Cosmetic cleanup. 2017-09-15 21:04:16 +03:00
LCD 47
e60555de70 Registry: cleaner handling of checker redirections.
Redirected checkers no longer need to add
"syntax_checkers/<filetype>/*.vim" to &runtimepath.
Parameters "exec" and "enable" to CreateAndRegisterChecker() are now
inherited from the source checker, but can be overridden in the target
if needed.
2015-12-05 01:54:40 +02:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +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
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +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
8751e32710 Bug fix: incomplete registering of cloned checkers.
Scenario:

- a C file is recognized as having filetype cpp
- run :SyntasticInfo
- run :setf c
- run :SyntasticInfo again

The only checker recognized will be oclint.  The reason is, oclint is
registered as a c checker when called from cpp initialization, and that
prevents registering other c checkers when calling ':setf c'.

Solution: always initialize all checkers for a filetype.
2013-06-29 13:03:28 +03:00
LCD 47
3c41ef06b3 Remove duplicated code. 2013-05-29 14:57:29 +03:00
LCD 47
a0aff0f436 OClint can check Objective-C files. Cleanup. 2013-05-29 14:25:33 +03:00
unc0
85cd84e5b0 add oclint syntax checker for c/c++ 2013-05-29 16:10:46 +08:00