Commit Graph

9 Commits

Author SHA1 Message Date
LCD 47
d9296d6321 Update scss_lint to the new registry framework. 2013-11-04 20:00:35 +02:00
LCD 47
1790a06de5 Merge branch 'master' into registry_cleanup 2013-11-04 19:59:21 +02:00
LCD 47
4c2dcf23a6 Cleanup. 2013-11-04 19:55:31 +02:00
Shane da Silva
0d207aaec5 Add scss-lint checker for SCSS files
Add checker for linting and syntax checking SCSS files with `scss-lint`
(https://github.com/causes/scss-lint/).
2013-11-03 18:00:25 -08: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
1cab34063a Checkers cleanup.
Elliminates duplicate code.
Brings gcc cpp, objc, and ada checkers in synch with c.
Minor bug fixes.
2013-03-20 11:31:45 +02:00
Martin Grenfell
16424e5761 add guards to all checkers
goddamn I love macros
2013-02-21 15:50:41 +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