Commit Graph

786 Commits

Author SHA1 Message Date
LCD 47
366360dcc1 Typos in the puppetlint checker. 2013-07-16 22:30:28 +03:00
LCD 47
ba0f349dbf Pylama: pep8, pep257, and mccabe are style checkers. 2013-07-15 11:24:41 +03:00
LCD 47
4b9bf4405b Pylama: new checker for Python 2.
Minor refactoring.
2013-07-14 19:13:18 +03:00
LCD 47
8c05dbf16e A first attempt at checking the exit code from the checkers. 2013-07-12 08:08:41 +03:00
LCD 47
3e46bcf71a Version check for rubocop.
Only rubocop versions 0.9.0 or later are supported.
2013-07-12 07:01:16 +03:00
LCD 47
0f6dad6b4c Merge remote-tracking branch 'sds/fix-rubocop-errorformat' 2013-07-12 06:52:09 +03:00
Shane da Silva
baa95470b6 Change --emacs flag to --format emacs for RuboCop
The `--emacs` flag has been deprecated. Switch to specifying
`--format emacs` so that this doesn't break when RuboCop 1.0 is
released.
2013-07-11 12:30:01 -07:00
Shane da Silva
0975a2f948 Fix errorformat for RuboCop checker
The errorformat for the RuboCop checker was missing the capture group
for the column number of the error/warning, which resulted in the
location list attempting to jump to 'filename.rb:80', which would
attempt to open a new file.

The solution was to add the "%c" to capture the column number of the
error.
2013-07-11 12:22:38 -07:00
LCD 47
bc6ca26f68 Removed erb checker for eRuby.
Rationale: ruby.vim is functionally identical, and faster.
2013-07-11 09:31:19 +03:00
LCD 47
9f7d5d7447 Errorformat adjustments for podchecker.
Deal with error messages like this:

    *** ERROR: =over on line 7 without closing =back at line EOF in file ...
2013-07-10 14:29:24 +03:00
LCD 47
f4ccd312ee More shell escaping bugs. 2013-07-10 11:20:54 +03:00
LCD 47
a1e1108c8e Fix a bug related to shell escaping. 2013-07-10 10:30:41 +03:00
LCD 47
69951dfe6e Cleanup. 2013-07-08 11:17:00 +03:00
Justin Donaldson
491f5a9e9b redirect output to dev null for syntax checking 2013-07-07 14:36:22 -07:00
Justin Donaldson
5ea175b6c5 ignore output by default 2013-07-07 14:29:59 -07:00
Justin Donaldson
21e38bc3bf add hss syntax checker 2013-07-07 13:36:35 -07:00
LCD 47
3d614fb2bd Cleanup. 2013-07-06 09:08:07 +03:00
Thomas Holmes
e74843c941 Mix needs the cwd to be set to the mix file. 2013-07-05 22:32:55 -04:00
Thomas Holmes
8f363a4ecb Fix Elixir mix detection.
Syntax checker now looks up thorugh its parents to find if it is part
of a mix project.
2013-07-05 17:22:10 -04:00
Thomas Holmes
2d537305f6 Refactor FindInParent from haxe.vim to be a util function 2013-07-05 17:12:06 -04:00
LCD 47
6ba8e651cb Make shell escaping less produce fewer useless quotes.
Function inspired by tpope's vim-dispatch.
2013-07-04 21:04:20 +03:00
LCD 47
0f1d451d96 Fix for Rails syntax.
There is now little point in running this checker rather than the plain
ruby one.
2013-07-03 21:36:14 +03:00
jvenant
aefae69985 re-add pom timestamp management 2013-07-01 18:57:21 +02:00
jvenant
882298ed02 correct test directory property name 2013-07-01 18:50:48 +02:00
jvenant
dc351c8d31 Add 4 features to maven management :
* Retrieve maven properties from help:effective-pom
    * Extract targets path from maven properties
    * Recursively search pom file in parents (using findfile)
    * Use a dictionary to cache classpath for each project pom
2013-07-01 18:23:56 +02:00
LCD 47
cb71439de5 Make the haxe checker aware of g:vaxe_hxml. 2013-07-01 18:14:15 +03:00
LCD 47
b00b7a2cea Make the haxe checker aware of vaxe. 2013-07-01 10:37:52 +03: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
24876abc32 More encoding problems in the eruby/ruby checker. 2013-06-29 10:55:43 +03:00
LCD 47
607ce98107 Checkstyle is (surprise!) a style checker. 2013-06-28 08:43:16 +03:00
LCD 47
6239284d16 Variable g:systastic_puppet_lint_arguments is deprecated. 2013-06-25 21:12:23 +03:00
LCD 47
9aef6b24ad Merge branch 'split_puppet' 2013-06-19 12:07:42 +03:00
LCD 47
05a3ca32ba Puppetlint doesn't produce useful results without puppet. 2013-06-19 12:07:20 +03:00
LCD 47
2cbcf7dcc7 Give up trying to set an encoding for erb. 2013-06-19 11:47:27 +03:00
LCD 47
c21f9e0f86 Rename eruby.vim -> erb.vim. 2013-06-18 19:47:26 +03:00
LCD 47
e7a3fd62a6 Clean erb checker. 2013-06-18 19:47:05 +03:00
Grzegorz Smajdor
d9d641fe0a provide a syntax check for eruby file
(cherry picked from commit e6ff3de83b9fee4f92dbc3042cf5fbcc48464f73)
2013-06-18 19:08:52 +03:00
LCD 47
a7243e87a6 Split the puppet checker into puppet and puppetlint. 2013-06-18 14:40:24 +03:00
LCD 47
ede4127f13 eRuby: take into account &fileencoding. 2013-06-12 08:00:27 +03:00
Manic Chuang
73a83a3208 Let eruby checker can handle UTF-8 2013-06-12 12:08:42 +08:00
LCD 47
da7002516b Added option 'cwd' to SyntasticMake(). 2013-06-11 21:36:44 +03:00
LCD 47
197ca09edd Bug fix: proper escaping in eruby. Fixes #29. 2013-06-08 21:08:45 +03:00
LCD 47
4ae72576da Merge pull request #679 from orenhe/shell_dont_validate_archaic_posix
sh: do not enforce POSIX validation on bash/zsh scripts
2013-06-07 11:51:01 -07:00
LCD 47
fd38284b28 Cleanup. 2013-06-07 20:56:39 +03:00
LCD 47
6e90447a31 Cosmetic change: checkpatch is a style checker. 2013-06-07 19:27:48 +03:00
LCD 47
e8579fc8c9 Update errorformat for sass. Fixes #42. 2013-06-07 11:50:54 +03:00
Oren Held
3859d89ad7 sh: do not enforce POSIX validation on bash/zsh scripts
The POSIX check warns about perfectly legal bash/zsh statements such as the 'local' keyword.
It's archaic and irrelevant nowadays.
2013-06-07 11:15:15 +03:00
LCD 47
c1de9703ff Makes the haml executable configurable. See #677. 2013-06-06 14:06:47 +03:00
LCD 47
4428f7e54f CoffeeScript changes, again.
Version check: errorformat depends on the combination of node version
and CoffeeScript version.  When run under recent nodes, only 1.6.2 and
newer produce errors we know how to parse.

Changed again "-t", this time to "-cp".
2013-06-05 17:00:34 +03:00
LCD 47
3c2549c6cd Changed arguments for coffee-script, again.
With "-t" some errors (e.g. "unexpected INDENT") are not caught.
Apparently "-n" works better.
2013-06-05 15:56:07 +03:00