Commit Graph

106 Commits

Author SHA1 Message Date
LCD 47
7d9aec0bee Prospector no longer accepts option "--external-config". 2015-02-05 16:37:50 +02:00
LCD 47
1ba96436c1 Cleanup: handling versions. Minor optimisation. 2015-01-23 11:39:42 +02:00
LCD 47
5359f7f4e1 Python checker: new option g:syntastic_python_python_use_codec (@delfick).
The new option tells the checket to load the file in memory and look for
a comment line "# coding: <codec>".  If found, the named codec is used
to decode the file before checking.  This makes sense only if said codec
doesn't change the line numbers of the initial file.  An example of such
codec is "spec" provided by the "Nose of Yeti" library:

https://github.com/delfick/nose-of-yeti
2015-01-17 11:17:35 +02:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
d1b401609b Bug fix: glob(), globpath(), and expand() should ignore wildignore. 2015-01-04 09:01:55 +02:00
LCD 47
650c7368e9 Discourage people from looking at the sources for user docs. 2014-11-21 10:01:24 +02:00
LCD 47
57f1a0eb20 New user variables: syntastic_<filetype>_<checker>_sort. 2014-10-24 15:55:47 +03:00
LCD 47
ba1b4606e7 Prospector: sort loclist. 2014-10-22 10:21:53 +03:00
LCD 47
dd1560862c Prospector: version 0.7 can check individual files. 2014-10-22 10:04:35 +03:00
LCD 47
3fe6f2a842 Prospector: fix typos; add logging; better return checking. 2014-10-22 09:39:56 +03:00
LCD 47
72a7cb3898 New checker for python: prospector. 2014-10-21 16:37:33 +03:00
LCD 47
83d0d7fef4 Pylint: remove leftovers from the logging patch. 2014-10-06 22:23:10 +03:00
LCD 47
ce89396808 Checker-specific logging.
New debug level 32, for logging tracing checkers.
New method checker.log().
Cleanup.
2014-10-06 22:19:24 +03:00
LCD 47
aa3db4513e Mypy: cleanup. 2014-09-28 11:28:26 +03:00
Russ Hewgill
d9178ba4ce Added mypy syntax plugin 2014-09-27 19:35:51 -07:00
LCD 47
18a7a9ff59 Pylint checker: more versioning delirium. 2014-09-16 18:31:57 +03:00
Tomer Chachamu
82b2d3172c Bug fix: highlighting on python frosted checker 2014-09-03 18:35:19 +01: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
1ee4bcccc7 Error highlighting cleanup. 2014-06-30 14:45:30 +03:00
LCD 47
716038ea46 Output of pep257 has changed.
Fix errorformat.
Make compressWhitespace() postprocess function remove leading and
trailing spaces.
Typo in the manual.
2014-05-10 18:47:50 +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
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
a781914a16 Yet more pylint versioning delirium. 2014-03-24 15:03:50 +02:00
LCD 47
da6520c69f \V<pattern> regexps can spell trouble if <pattern> contains backslashes. 2014-03-09 22:21:29 +02:00
LCD 47
e677e0655e pyflakes: update errorformat. 2014-02-27 18:10:47 +02:00
LCD 47
fb71514648 Move preprocess functions to their own file. 2014-02-26 10:31:38 +02:00
LCD 47
b0191a144c Refactor of quiet_message filters.
Optimisation: merge handling of global and per-checker filters.
Feature: allow [] and '' values for quiet_messages filter elements.
Feature: allow overrides for quiet_messages filters.
Feature: buffer-local auto_jump and quiet_messages.
Safety: add magic specifiers to catch regexps.
Cleanup: minor restructuring for the forthcoming foreign checkers
feature.
2014-02-24 01:10:33 +02:00
LCD 47
ffe3085a80 Pylint versioning strikes again. 2014-02-17 11:49:02 +02:00
LCD 47
daf74923b7 Escape Festschrift, vol. 2: add function getExecEscaped(). 2014-02-07 11:19:30 +02:00
LCD 47
f5a45095e2 Escape Festschrift: getExec() needs to be escaped before being used. 2014-02-06 16:50:27 +02:00
LCD 47
4c2004d2e5 Bug fix: the result of expand('<sfile>:p:h') has to be escaped. 2014-02-06 11:58:30 +02:00
LCD 47
1bc5fee054 pylint: fix detection of column numbers. 2014-02-04 11:53:26 +02:00
LCD 47
44d7ffd7e0 makeprgBuild() refactor: add *_before and *_after options. 2014-01-28 21:44:44 +02:00
LCD 47
2e5df9569f New Python checker; frosted. 2014-01-27 14:16:27 +02:00
Buck Golemon
4636be0818 fix pylint messages when pythonrc specifies format=colorized 2014-01-23 16:13:43 -08:00
LCD 47
12b3c071a5 Pylint: use symbolic names in messages. Add column information. 2014-01-23 22:20:00 +02:00
LCD 47
dfe1e025ee Python: code being checked shouldn't inherit future statements. 2014-01-06 17:04:55 +02:00
LCD 47
6c91e8d802 Rework of the python checker, fixing column reporting. 2014-01-05 08:39:14 +02:00
LCD 47
2754bcb65b Fix column reporting in pyflakes. 2014-01-04 19:26:56 +02:00
LCD 47
ab94210085 Rework of message decoding for flake8. 2014-01-04 10:01:16 +02:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
LCD 47
b5050a0264 Pylint: add exit code check. 2013-12-11 10:43:10 +02:00
LCD 47
a4ad407c67 Minor cleanup for pylama. 2013-11-29 10:18:53 +02:00
LCD 47
fa2e6b96d9 Minor cleanup: replace match() by stridx() when appropriate. 2013-11-26 23:19:01 +02:00
LCD 47
7b36f9147f More detailed debugging.
Moved logging functions to autoload/syntastic/log.vim.
Cleanup debug functions.
Add a function to dump option variables.
2013-11-14 10:13:05 +02:00
LCD 47
71ad20e184 More typos. 2013-11-08 10:45:15 +02:00
LCD 47
fd5a52e0bd Cleanup. 2013-11-04 23:00:51 +02:00
LCD 47
6d81ac5dd0 Registry cleanup, stage 3.
Make syntastic#makeprg#build() a dictionary function.
Remove the mandatory checker argument to syntastic#makeprg#build().
2013-11-02 10:44:06 +02:00
LCD 47
3694908d05 Registry cleanup, stage 2.
(1) Checkers now have an _exec attribute, and an accessor getExec().
(2) CreateAndRegisterChecker() initializes _exec from an optional argument
'exec'.  If this argument is missing, 'name' is used instead.
(3) Functions SyntaxCheckers_*_IsAvailable() are now dictionary functions.
(4) Functions SyntaxCheckers_*_IsAvailable() are now optional.  When
they are missing, they are assumed to return executable(expand(self.getExec())).
(5) Argument 'exe' of function syntastic#makeprg#build() is now optional.
If this argument is missing, expand(self.getExec()) is used to set checker
executables.
2013-11-02 10:44:06 +02: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