Commit Graph

6 Commits

Author SHA1 Message Date
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