Commit Graph

191 Commits

Author SHA1 Message Date
LCD 47
77e20e22d8 Bug fix: decouple skip_checks from check_on_wq.
When a buffer is opened in more than one window, :quit-ing the buffer
in a window would set skip_checks while the buffer would remain open.
2015-12-03 07:56:50 +02:00
LCD 47
70c723ac16 Back off 6379bd1, this is not safe. 2015-11-30 06:41:50 +02:00
LCD 47
6379bd1988 /dev/null should work under win32unix. 2015-11-30 06:37:51 +02:00
LCD 47
73dd785486 Dockerfile_lint checker: cleanup. 2015-11-27 20:25:28 +02:00
Pixelastic
13456d5a71 Add dockerfile-lint checker
This adds the first syntaxchecker for `Dockerfile`. This uses
[dockerfile-lint](https://github.com/projectatomic/dockerfile_lint)
and expect the `dockerfile-lint` binary to be available (usually
through the `npm` install).

By default, it will simply check for basic syntax correctness of the
`Dockerfile`. One can pass a custom `yml` rule file through the `syntastic_dockerfile_dockerfile_lint_post_args`, for example:

```vim
let b:syntastic_dockerfile_dockerfile_lint_post_args = '-r /path/to/rule/file.yml'
```

I've used `preprocess` to convert the json output.
2015-11-27 17:19:22 +01:00
LCD 47
6461248230 Back off a4c3fcc for slimrb. 2015-11-02 21:09:18 +02:00
LCD 47
630169bfc2 Stylelint checker: typo. 2015-10-29 20:28:32 +02:00
LCD 47
c596b6474e Stylelint checker: cleanup. 2015-10-29 18:04:46 +02:00
LCD 47
a4c3fcc4ad Partial workaround for a misfeature of errorformat. 2015-10-28 17:56:50 +02:00
LCD 47
e484ac9416 BaseX: allow filenames to contain special characters.
Bug fix: proper escaping of special characters in filenames.

Workaround for a bug in Vim: errorformat's "%f" doesn't properly detect
filenames if they are not delimited by characters that are illegal in
filenames, such as ":".  Solution: switch to a preprocess function.

References: http://docs.basex.org/wiki/Commands#Valid_Names
2015-10-26 10:07:29 +02:00
LCD 47
b8aef009b1 Bug fix: length of composite characters in stl_format. 2015-09-23 17:48:39 +03:00
LCD 47
e0a3cf753e Add width controls to the new stl_format flags. 2015-09-22 12:27:55 +03:00
LCD 47
a01107ffa6 Bug fix: safer handling of automatic includes. 2015-07-29 14:58:46 +03:00
LCD 47
a6012f2b4c Move floating point functions to autoload. 2015-07-21 10:01:28 +03:00
LCD 47
aded15691b Bug fix: leftover from JSON cleanup. 2015-07-16 22:31:10 +03:00
LCD 47
1dde81a68f There is no such thing as has('iconv/dyn'). 2015-07-16 15:12:12 +03:00
LCD 47
c44cb15c42 Cleanup: JSON decoding. 2015-07-15 06:38:00 +03:00
LCD 47
eba7ae6d64 Debug: add indicator for modified shell-related options. 2015-07-13 00:02:19 +03:00
LCD 47
8e672780e7 Show checker output along with "checker returned abnormal status". 2015-06-26 08:01:20 +03:00
LCD 47
31cba018b3 Safety net: avoid suffixesadd interfering with findfile(). 2015-06-26 07:28:50 +03:00
LCD 47
e46c64701c Bug fix: more findfile() fun. 2015-06-23 13:55:22 +03:00
LCD 47
a728268d73 Bug fix: finding files in parent directories.
Checkers pc_lint, javac, flow, C compilers: findfile() should start in
the current file's base directory rather than the current directory.

Elixir checker: use the more efficient findfile() instead of
syntastic#util#findInParent().
2015-06-22 23:10:20 +03:00
LCD 47
b609b3bdd3 Checker ghc-mod: attempt to fix filename encodings.
ghc-mod will always use UTF-8 encoding on output, regardless of the
current encoding.  This is a problem for syntastic because it mangles
the filenames.  The commit below is a (perhaps misguided) attempt to
fix that, by calling iconv() to re-encode output from ghc-mod to Vim's
encoding.
2015-06-18 13:27:41 +03:00
LCD 47
981196fdc3 Flow checker: use the "status" command. 2015-05-19 23:01:39 +03:00
LCD 47
24bb293574 Minor comment fix. 2015-05-03 19:59:35 +03:00
LCD 47
3a30321fd0 Fix loclist timestamps for refresh (@blueyed). 2015-05-03 19:26:56 +03:00
LCD 47
4fbe5f52c7 Flow checker: recover from negative end offsets. 2015-04-22 08:25:04 +03:00
LCD 47
80c5a047c0 Bug fix: b:cflags again. 2015-04-15 12:54:07 +03:00
LCD 47
2cf32d7be3 Bug fix: b:cflags applies only to C and C++ checkers. 2015-04-14 10:53:30 +03:00
LCD 47
fe436371b4 Checker tsc: version 1.5 has option "--noEmit". 2015-04-11 14:31:52 +03:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
47eabae37d New global option: "shell".
Undocumented option "bash_hack" is gone.
New function syntastic#util#system(), that sets up the environment and
is now used consistently everywhere.
Unrelated fix for the elixir checker (syntax).
2015-03-12 19:20:06 +02:00
LCD 47
a7758aa188 New checker for Vim: vint. 2015-02-23 17:52:09 +02:00
LCD 47
b427af1e0f Cleanup: case-sensitive comparisons. 2015-02-23 17:09:00 +02:00
LCD 47
0e23cb0977 Cleanup.
Add the "abort" attribute to the core functions.
Undefined function s:CygwinPath() in autoload/syntastic/util.vim.
2015-02-23 16:40:53 +02:00
LCD 47
dde4a9be9c Formatting. 2015-02-13 11:05:04 +02:00
Shiz
b70e9af181 Don't warn on python/prospector with no messages.
When the python/prospector checker finds no issues in the file, the "messages" key is absent in the JSON output. Make sure we don't spew out a warning when that happens.
2015-02-13 09:38:10 +01:00
LCD 47
1ba96436c1 Cleanup: handling versions. Minor optimisation. 2015-01-23 11:39:42 +02:00
LCD 47
2073cee050 More safety checks. 2015-01-17 16:37:56 +02:00
LCD 47
38f46b6ac8 A (hopefully) safer "rm -rf".
Also remove javac option g:syntastic_java_javac_temp_dir, as it's way to
easy to make it trigger a disaster.
2015-01-17 14:26:24 +02:00
LCD 47
c60e440d00 Go checker: more contortions around "go_go_build_args" and "go_go_test_args". 2015-01-15 17:51:15 +02:00
LCD 47
c472ec1396 Feature: extended syntax for quiet_messages.
If a key in `quiet_messages` is prefixed by an exclamation mark "!", the
corresponding filter is negated.

Also, the "file" key may now be followed by filename modifiers.
2015-01-04 09:10:24 +02:00
LCD 47
d1b401609b Bug fix: glob(), globpath(), and expand() should ignore wildignore. 2015-01-04 09:01:55 +02:00
LCD 47
79b04bdf43 Debug: if reading a config file fails, log the reason it failed. 2015-01-04 08:46:08 +02:00
Alex Efros
65de58c3a7 fix file/line detection for perl 2014-12-07 14:15:16 +02:00
LCD 47
d422c6d825 Flow checker: cleanup. 2014-12-05 13:38:53 +02:00
LCD 47
4ff440ccbe Shut up vimlint. 2014-11-20 10:02:02 +02:00
LCD 47
72e0593eae Bug fix: make sure directory returned by syntastic#util#tmpdir() exists. 2014-11-09 20:47:35 +02:00
LCD 47
c4c56716fe More naming conventions. 2014-11-03 11:58:46 +02:00
LCD 47
8e9ece2144 Prospector: saner handling of errors. 2014-10-24 19:53:39 +03:00