Commit Graph

12 Commits

Author SHA1 Message Date
Fabio
1724155881 less: improved errorformat for v1.2
* previous version would skip "NameError" and potentially other errors
* introduced support for the capture of the error message
2012-01-19 19:28:18 +01:00
Martin Grenfell
fe5b8989af less: simplify 1.2 errorformat and split errorformat up
* remove some unneeded escaping of spaces and colons from the 1.2
  errorformat
* split the pre and post 1.2 errorformats up and comment them for future
  clarity
2012-01-19 13:01:12 +00:00
Fabio
7e8ab5f636 Error format fix for less files
Added errorformat because the output of lessc was not correctly
recognized in my system (maybe lessc errors changed in the last update)
2012-01-15 05:24:17 +01:00
Martin Grenfell
8dba3fe0b5 less checker: update the error format for the latest version
I installed the latest version of lessc and they have modified their
output slightly. Update the errorformat for this.

Also, they new output is colorized by default. So I have added an option
to specify args to the checker that currently defaults to "--no-color".
This means that if people want to use an older version of lessc, they
will need to reset this option to an empty string.
2011-12-11 14:33:44 +00:00
Martin Grenfell
0af738a59a less checker: fix a syntax error
ironic?
2011-12-11 14:32:53 +00:00
Martin Grenfell
da78242123 add an option to SyntasticMake to specify defaults
Many of the syntax checkers were setting the 'bufnr' key for each
error manually and one was setting 'text' if it didnt exist too.

Add the 'defaults' option to SyntasticMake to set default values in the
returned error list - it only sets values if they are empty.
2011-12-09 13:47:42 +00:00
Julien Blanchard
ed7a0fb05d Updated less.vim so that it doesn't generate a CSS file when checking syntax 2011-03-16 11:45:55 +01:00
Martin Grenfell
db90009a11 less checker: make it handle the new lessc output as well 2011-02-13 14:07:42 +13:00
Martin Grenfell
5dfedf994f less checker: convert it to use errorformat/makeprg
this way we can add new expressions to errorformat to upgrade to
the latest lessc output while preserving backwards compatibility
2011-02-13 14:06:50 +13:00
marty
b8fbc338ce fix a comment typo in the less syntax checker 2010-12-09 13:09:29 +13:00
Julien Blanchard
4dbca32dfa LESS CSS syntax checker 2010-12-09 08:07:53 +08:00
Julien Blanchard
e1e327d5a3 WIP: less syntax checker 2010-12-09 08:07:52 +08:00