Commit Graph

552 Commits

Author SHA1 Message Date
LCD 47
fa0290c556 PC-Lint: mark informational messages as "Style". 2014-09-19 11:30:31 +03:00
LCD 47
9321bc79ed PC-Lint: add column numbers. Cleanup. 2014-09-19 10:33:56 +03:00
LCD 47
4f0fc20a17 Minor cleanup for text filetype.
- No default checker for text filetype.
- Checker `atdtool` needs sorting.
- Filetype `mail` is now an alias to `text`.
2014-09-19 08:25:53 +03:00
LCD 47
53a321d0b1 README: clarifications about style checkers. 2014-09-19 08:20:30 +03:00
LCD 47
d751d17ef1 PC-Lint: cleanup. 2014-09-18 08:35:43 +03:00
LCD 47
fb6747c013 Grammar. 2014-09-17 23:19:04 +03:00
LCD 47
9d2800f9a5 README: add a note about style checkers. Minor cleanup. 2014-09-17 20:22:28 +03:00
LCD 47
18a7a9ff59 Pylint checker: more versioning delirium. 2014-09-16 18:31:57 +03:00
LCD 47
5c21c4d7f2 Bug fix: grouping in errorformat.
\(...\) can't be used in errorformat; use non-catching \%(...\) instead.
Add \m to patterns that use grouping.
2014-09-16 18:12:50 +03:00
LCD 47
e8afec0117 SASS checker: fix errorformat. 2014-09-16 06:58:46 +03:00
LCD 47
aac0775c39 Make b:syntastic_skip_checks suitable for general use.
Document `b:syntastic_skip_checks`.  Minor cleanup.
2014-09-16 06:36:37 +03:00
LCD 47
83b6d6a587 The php checkers needs "guards" postprocessing. 2014-09-04 13:23:48 +03:00
LCD 47
4aadf589be New postprocess function: guards.
The new function ensures line numbers in loclists are not beyond end of
buffer.  The implementation is very inefficient, because it loads all
buffers in memory.

`eslint` and `lessc` checkers need this function.
2014-09-04 12:56:09 +03:00
LCD 47
b7b09af6b6 New global option syntastic_exit_checks.
Syntastic attempts to catch abnormal termination conditions from checkers by
looking at their exit codes. The "cmd.exe" shell on Windows make these checks
meaningless, by returning 1 to Vim when the checkers exit with non-zero codes.
The above variable can be used to disable exit code checks in syntastic.
2014-09-03 10:47:23 +03:00
LCD 47
0d0c4aa747 Bump version. 2014-09-01 18:38:06 +03:00
LCD 47
f88b5c74c9 Bump version number. 2014-08-28 23:37:11 +03:00
LCD 47
18a185be78 PHPLint: fix syntax highlighting. 2014-08-28 10:25:38 +03:00
LCD 47
0be8cdd631 New checker for PHP: PHPLint. 2014-08-28 09:56:13 +03:00
LCD 47
80db618c09 Cursor columns: fix redraw. 2014-08-28 09:18:07 +03:00
LCD 47
9fb7b0d397 SCSS-Lint: new error codes. 2014-08-26 16:59:52 +03:00
LCD 47
82b2745886 Don't assume loclists have vcol fields. 2014-08-25 06:30:21 +03:00
LCD 47
7b9b02954e README: typo. 2014-08-24 20:45:24 +03:00
LCD 47
4b7183b9dc README: add a note about Python 3. 2014-08-24 20:44:07 +03:00
LCD 47
8e229e41a3 A cleaner way to kill default variables. 2014-08-22 12:02:02 +03:00
LCD 47
e62fe0e6ed Allow oclint to use cmake compilation databases. 2014-08-19 08:04:24 +03:00
LCD 47
a27b435a13 OClint: slightly more robust regexps. 2014-08-15 08:43:41 +03:00
LCD 47
1fac6011ef OClint: fix parsing. 2014-08-15 08:23:49 +03:00
LCD 47
f62e0f6618 New option: cursor_columns. 2014-08-03 12:54:56 +03:00
LCD 47
c2e7bf29c9 Escript: parseShebang() is more capable these days. 2014-07-31 16:40:34 +03:00
LCD 47
e340796776 Bug fix: SyntasticReset didn't really reset. 2014-07-22 22:02:42 +03:00
LCD 47
d795d4b16a Bug fix: forgotten return. 2014-07-22 20:37:06 +03:00
LCD 47
09f35e9f2d Try to prevent g:syntastic_mode_map from being modified. 2014-07-22 13:25:28 +03:00
LCD 47
3f963543dd Manual: clarification about g:syntastic_mode_map. Minor cleanup. 2014-07-22 13:15:49 +03:00
LCD 47
95a57739eb More detailed logging. 2014-07-22 07:55:04 +03:00
LCD 47
c1479f980e Set default reuse_loc_lists to 0.
Recent Vim versions have a bug related to setloclist(0, list, 'r'):

https://groups.google.com/forum/#!topic/vim_dev/t4ei24iwkiY

Avoid replacing loclists until the problem is solved.
2014-07-20 21:32:29 +03:00
LCD 47
d603ed4f33 Make sure version lists are formed of numbers. 2014-07-20 21:23:01 +03:00
LCD 47
e34f421b39 Revert 1e3e0a8. The problem was placing signs on unloaded buffers. 2014-07-17 16:59:22 +03:00
LCD 47
190d9f5e95 Manual: add a note about canceling default arguments. 2014-07-17 07:26:03 +03:00
LCD 47
1d19dff701 Security: disable the elixir checker by default.
This executes the code your files. This is probably fine if you wrote
the files yourself, but it can be a problem if you're trying to check
third party files. If you are 100% willing to let Vim run the code in
your files, set g:syntastic_enable_elixir_checker to 1 in your vimrc.

References:

https://groups.google.com/d/msg/elixir-lang-talk/B29noPHvQ-8/9JvSGPop7n0J
2014-07-16 18:39:52 +03:00
LCD 47
1e3e0a8254 Defensive coding against stepping over other plugins' signs. 2014-07-16 09:34:27 +03:00
LCD 47
6c88bae55d JSHint checker: sort results. 2014-07-15 18:53:22 +03:00
LCD 47
5eb22bb0a3 Refresh optimisations: avoid floats.
The price for this is the assumption reltime() returns a list of
integers [high, low].
2014-07-15 18:13:59 +03:00
LCD 47
b222a31d57 Typo. 2014-07-15 17:30:45 +03:00
LCD 47
0f8d786b84 Check for +float. 2014-07-15 16:55:33 +03:00
LCD 47
9a26f1d585 SyntasticInfo: minor bug fix. 2014-07-15 15:09:02 +03:00
LCD 47
13bdf9e4bd SyntasticInfo: more details about modes. Minor cleanup. 2014-07-15 12:43:53 +03:00
LCD 47
e54f28e338 New redirect checker for arduino: avrgcc. 2014-07-15 09:33:31 +03:00
LCD 47
7b0d3f868c Don't check compressed files. 2014-07-13 22:43:57 +03:00
LCD 47
d364f33a53 Refresh optimisations. 2014-07-13 21:10:46 +03:00
LCD 47
572d3e0ebc README: nit pick about re-enabling the perl checker. 2014-07-11 18:23:00 +03:00
LCD 47
af49886446 Vimlint: add g:syntastic_vimlint_options. 2014-07-11 15:48:37 +03:00
LCD 47
4c5ff42723 New option for SyntasticMake(): env.
Setting environment variables by prefixing commands with 'VARIABLE=value'
doesn't work under csh.  Solution: let Vim set the environment variables.
2014-07-07 19:04:22 +03:00
LCD 47
c325f6c815 Make syntastic#util#parseShebang() aware of /usr/bin/env. 2014-07-06 18:18:43 +03:00
LCD 47
dd57547da0 Manual: add a note about netrw. 2014-07-04 23:12:12 +03:00
LCD 47
1ee4bcccc7 Error highlighting cleanup. 2014-06-30 14:45:30 +03:00
LCD 47
0bef7ef3f6 Bug fix: refresh notifiers in BufEnter, rather than BufWinEnter. 2014-06-27 22:34:44 +03:00
LCD 47
ab79acbccd Cleanup. Deprecate a number of checker variables.
New / refactored deprecation logging functions:
syntastic#log#oneTimeWarn() and syntastic#log#deprecationWarn().
2014-06-24 19:02:42 +03:00
LCD 47
3ebdeabf63 Add a note about rustc's new home. 2014-06-17 08:35:29 +03:00
LCD 47
bd7e34757d R lint and svtools: fix CWD for Windows.
On Windows R is run with CWD set to the directory used at install time,
rather than the current directory.  The official workaround for this is
to add links to R from the home directories of each of your projects.
We can't do that in Vim, but we can call `setwd()` to Vim's idea of
current directory.  This mimics the behaviour of R on UNIX.
2014-06-14 06:53:50 +03:00
LCD 47
dd5ca1f788 Add a note about the removal of the rustc checker. 2014-06-13 00:23:10 +03:00
LCD 47
1383c0f50a Remove the rustc checket for Rust.
Between #947, #1114, and #1112, this checker is too controversial to
maintain in syntastic.  Please consider using it as an external checker
if you need it:

https://github.com/scrooloose/syntastic/wiki/Syntax-Checker-Guide#external
2014-06-12 23:42:54 +03:00
LCD 47
c33303105b rustc: make arguments configurable. 2014-06-12 22:36:05 +03:00
LCD 47
4004c021af ruby-lint: typo. 2014-06-06 21:20:31 +03:00
LCD 47
98b64fd7b9 ruby-lint: add version check for "analyze". 2014-06-06 18:55:41 +03:00
LCD 47
3e8637ec49 New checker for sass and scss: sassc. 2014-06-05 00:23:01 +03:00
LCD 47
e058be3d01 Registry optimisation: lazy IsAvailable() calls. 2014-06-04 19:34:12 +03:00
LCD 47
284655357b Cabal checker: cleanup. 2014-05-31 11:52:52 +03:00
LCD 47
cc72b0dc66 Rename cabal/check --> cabal/cabal. 2014-05-31 11:19:33 +03:00
LCD 47
101a32bb2f coffeelint: option --csv is deprecated (@greenify). 2014-05-29 12:09:17 +03:00
LCD 47
b6a42d1871 Vim no longer allows setting signs on line 0. 2014-05-28 10:08:48 +03:00
LCD 47
576b84e2b7 Update installation instructions.
Update pathogen's address.
Change ; to && to stop early in case of error (@koalaman).
2014-05-27 11:40:15 +03:00
LCD 47
50518b335d Add separate highlighting groups for style messages (@kovidgoyal). 2014-05-11 20:34:32 +03:00
LCD 47
45a36bf2fc eslint: honour the exec parameter. 2014-05-10 22:29:15 +03:00
LCD 47
e7d1519f55 Cleanup for bro. 2014-05-09 11:54:59 +03:00
LCD 47
6ea7796730 Merge remote-tracking branch 'JustinAzoff/bro' 2014-05-09 11:47:44 +03:00
LCD 47
653a02a4c1 Some versions of phcs produce an extra column: fix errorformat. 2014-05-07 20:53:02 +03:00
LCD 47
02d07313aa Merge branch 'multi' 2014-05-06 11:14:50 +03:00
LCD 47
8c1c13e94e Contributing guide: add TOC; formatting. 2014-05-04 14:09:47 +03:00
LCD 47
dc02d66648 Update the contributing guide. Make :SyntasticInfo print version. 2014-05-04 13:58:25 +03:00
LCD 47
43e8cb955e More clisp fixes.
Give up trying to persuade clisp not leave behind junk files.
Fix errorformat.
2014-05-03 11:45:02 +03:00
LCD 47
24eab03135 clisp: fix argument order. 2014-05-02 21:04:09 +03:00
LCD 47
ad991127a6 New checker for less and css: recess (@pixelastic). 2014-04-30 10:27:01 +03:00
LCD 47
b9f741e57c Attempt at making multiple buffers work properly.
Propagate b:syntastic_loclist to all buffers mentioned in loclists.

Try to prevent inadvertent closing of the loclist window if all errors
are in included files, by saving the main buffer owner as a variable
local to the quicklist buffer.
2014-04-29 14:31:43 +03:00
LCD 47
75c439fc24 Manual: add a note about PowerShell. 2014-04-27 20:12:04 +03:00
LCD 47
2a770da3a0 GitHub has changed the addresses for user content. 2014-04-26 10:05:02 +03:00
LCD 47
9d4b173493 README: minor update.
The official way to install pathogen has changes slightly.
Add a link to the syntax checker guide.
2014-04-26 08:09:03 +03:00
LCD 47
4b00bf5b2e Python checkers: workaround for GNU readline brain damage.
On terms that support smm / rmm (f.i. xterm), initializing readline
prints the smm sequence, regardless of whether stdout is a terminal or
not, which in turn can make checkers' output unparseable.

Workaround: set TERM to dumb before calling the checkers.
2014-04-23 21:16:41 +03:00
LCD 47
3c07df5dfc Cleanup: lock some variables. 2014-04-23 14:45:21 +03:00
LCD 47
02cbebdfab Cleanup: fix two vimlint warnings. 2014-04-22 21:58:32 +03:00
LCD 47
125442f178 tslint: cleanup. 2014-04-21 13:07:39 +03:00
LCD 47
54bb9b4b8b haxe and dartanalyzer: fix syntax highlighting. 2014-04-21 08:41:44 +03:00
LCD 47
618b41428b Merge remote-tracking branch 'cww/master' 2014-04-19 10:14:05 +03:00
LCD 47
ebbcdd0c1a Cleanup for java/javac. 2014-04-19 10:03:53 +03:00
LCD 47
177292cafa Cleanup for the new aggregate_errors. 2014-04-19 09:09:48 +03:00
LCD 47
99cbe5d011 HTML Tidy: add a note about HTML Tidy for HTML5.
Some people seem to find it easier to look at the sources than read the wiki,
so mention HTML Tidy for HTML5 here, too. :)
2014-04-17 23:08:22 +03:00
LCD 47
4dbb652763 New option: syntastic_sort_aggregated_errors.
Aggregated error lists are now sorted by default.
2014-04-17 22:09:12 +03:00
LCD 47
68131a7679 Bug fix: error sorting.
Error sorting can't be done as a postprocess function called from
SyntasticMake(), since the final values of some relevant fields (f.i.
type) might not be known yet at that point.  Solution: move sorting to
getLocListRaw(), after per-checker quiet_messages.  New checker methods
getWantSort() / setWantSort() are needed.

Second problem: some checkers return screen columns mixed with byte
indices.  Solution: compute screen columns as needed.  Sadly, everything
about working with screen columns is fragile.
2014-04-16 22:16:40 +03:00
LCD 47
b4320f19dd oclint: option "-text" is obsolete. 2014-04-16 00:15:46 +03:00
LCD 47
4c18240e8d Formatting. 2014-04-15 09:09:37 +03:00
LCD 47
29843ed7fb Minor cleanup. 2014-04-14 12:08:27 +03:00