Commit Graph

510 Commits

Author SHA1 Message Date
Martin Grenfell
40374f1b67 Revert "Spent a while trying to figure out why :helptags wasn't working properly with pathogen, but it turns out the h has to be capitalized."
This reverts commit ad42147e9a.

This should not have been merged in - I failed at reading the diff.
2012-02-27 12:13:52 +00:00
Martin Grenfell
b5bf08a7cd Merge pull request #188 from aripollak/patch-1
Spent a while trying to figure out why :helptags wasn't working properly...
2012-02-27 04:08:51 -08:00
Ari Pollak
ad42147e9a Spent a while trying to figure out why :helptags wasn't working properly with pathogen, but it turns out the h has to be capitalized. 2012-02-23 11:30:47 -05:00
Martin Grenfell
bcfdab6a02 python: bugfix to pyflakes checker
dont refer to g:syntastic_python_checker since - due to a previous
commit - this is not guaranteed to exist any more.

This change should have been done in the aforementioned commit - but I
failed.
2012-02-23 13:24:34 +00:00
Martin Grenfell
d09c33072d Merge pull request #181 from rickeyski/master
Scala lang plugin
2012-02-21 01:37:20 -08:00
Rickey
70a0574d76 scala language plugin 2012-02-20 20:08:16 -05:00
Martin Grenfell
936f1406da Merge pull request #180 from harpyon/master
Small NASM syntax checker fix
2012-02-20 05:50:17 -08:00
Håvard Pettersson
5d1adc5bcd Small NASM syntax checker fix.
Prevent %include errors by including the file directory with -I.
2012-02-20 14:17:22 +01:00
Martin Grenfell
8ed25186bd Merge pull request #178 from harpyon/master
Add NASM support
2012-02-20 02:40:25 -08:00
Martin Grenfell
b2ec20ba50 Merge pull request #177 from rgiot/master
Z80 syntax
2012-02-20 02:38:41 -08:00
Martin Grenfell
d454a00615 split python checker out into 3 files
previously there were 3 checkers in the one file
2012-02-20 10:20:48 +00:00
Håvard Pettersson
debae428d2 NASM syntax checker fixes.
- Redirect output to /dev/null or NUL, to get rid of the trash .o file.
 - Some extra arguments to make sure NASM will always use the same
   settings.
2012-02-20 03:54:32 +01:00
Håvard Pettersson
90b7a379c3 Added NASM syntax checker. 2012-02-20 03:13:42 +01:00
Romain Giot
d751322218 Merge remote branch 'upstream/master' 2012-02-19 22:12:45 +01:00
Romain Giot
22d8063b0a Add z80 assembly language 2012-02-19 22:09:16 +01:00
Martin Grenfell
b4a7d47294 performance improvements: cache errors and warnings explicitly
There are many calls to s:Errors() and s:Warnings(), and previously the
location list was filtered once for each of these calls. This made vim
unusable when handling large location lists (with hundreds of entries).
Now we cache the errors and warnings explicitly when we cache the
location list.

Rework some of the minor methods so that they call s:Errors() or
s:Warnings() (which use the cached data) instead of calling
s:FilterLocList() directly (which is expensive).
2012-02-18 16:01:17 +00:00
Martin Grenfell
e44494558f minor performance improvements to the statusline function 2012-02-18 15:38:42 +00:00
Martin Grenfell
9594d34003 performance improvements for FilterLocList()
Remove the call to deepcopy() and use some alternative logic instead.

This improves performance massively for large location lists. More
aggressive caching is needed really though since this function is called
multiple times to return the same data.
2012-02-18 15:36:44 +00:00
Martin Grenfell
3e80184d5f bump to v2.3.0 and update changelog and credits 2012-02-16 17:20:03 +00:00
Martin Grenfell
08d30dfa43 Merge pull request #172 from frimik/puppet-storeconfigs
puppet: enable --storeconfigs on 2.7
2012-02-14 01:27:17 -08:00
Mikael Fridh
f4a2433c16 puppet: enable --storeconfigs on 2.7
without --storeconfigs it's going to complain alot if you have any imported
resources in your manifests.
2012-02-14 10:15:17 +01:00
Martin Grenfell
cb6205254e puppet: update errorformat to ignore a general message
The checker was always outputting this if syntax errors were detected:
    err: Try 'puppet help parser validate' for usage,

So just ignore it. See #157
2012-02-13 09:55:43 +00:00
Martin Grenfell
6d34c70713 puppet: skip --ignoreimport for versions >= 2.7.10
This option was removed in 2.7.10 - as noted in #157.
2012-02-13 09:55:43 +00:00
Martin Grenfell
7781a7050f Merge pull request #171 from pneff/python-args
Additional parameter for Python checker
2012-02-13 01:14:57 -08:00
Patrice Neff
a79d079a63 Additional parameter for Python checker
The parameter `g:syntastic_python_checker_args` can be used to pass additional
arguments to the Python syntax checker. Example configuration:

    let g:syntastic_python_checker = "flake8"
    let g:syntastic_python_checker_args = "--ignore=E501 --max-complexity=10"
2012-02-13 09:00:26 +01:00
Martin Grenfell
253cfe3e82 Merge pull request #170 from gillesruppert/master
fix: javascript jshint config
2012-02-11 12:56:29 -08:00
Gilles Ruppert
be1091f251 rather than compare to '' we use the vimscript emtpy function as else the check does not work 2012-02-11 21:45:30 +01:00
Martin Grenfell
3be5136585 go: add gofmt checker from #150 2012-02-11 15:40:45 +00:00
Martin Grenfell
82765028c1 rust: remove the explicit color codes
Replace the color codes these regexes: /.\{-}/

This is needed for portability since, when using tmux, the output is not
colorized. Also, Im not sure that different terminals will
use the same codes for the colors - but Im no expert.
2012-02-11 12:51:42 +00:00
Martin Grenfell
b58ca4b950 rust: update a couple of comments 2012-02-11 12:30:00 +00:00
Martin Grenfell
ddb78951a2 Merge pull request #169 from cjab/rust-syntax-checker
add rust syntax checker
2012-02-11 04:30:05 -08:00
Chad Jablonski
fda546fff0 add rust syntax checker 2012-02-10 23:58:39 -08:00
Gilles Ruppert
c2c0058973 make the ternary check for the javascript jshint config explicit as else it was not working on my system 2012-02-11 02:27:45 +01:00
Martin Grenfell
206c8092a1 update changelog 2012-02-10 18:10:21 +00:00
Martin Grenfell
9a6895d28d add syntastic_loc_list_height option
This allows the user to specify what height the loc list should be
opened at. Solves  issue #153.
2012-02-10 17:56:32 +00:00
Martin Grenfell
5e438933f3 perl: fix the makeprg - I failed in the previous commit 2012-02-09 14:21:37 +00:00
Martin Grenfell
9a5eda8fe0 haxe: fix the permissions on the checker file 2012-02-09 14:00:50 +00:00
Martin Grenfell
ddecc79d19 perl: add the output munger to the repo
previously we assumed the user had efm_perl.pl installed as part of the
standard vim runtime, but this isnt so for CentOS and possibly for other
distros - see issue #159. Therefore, we now ship it with syntastic
itself.

Note: efm_perl.pl just munges the output of perl into a different
format. It may be worth investigating further and writing our own
errorformat to remove the dependency on efm_perl.
2012-02-09 13:50:04 +00:00
Martin Grenfell
258812abc0 puppet: fix the puppet version number extraction
fix a bug where the version number had a newline after the last version
number component e.g. 2.7.9\n
2012-02-08 23:29:50 +00:00
Martin Grenfell
0b10a2eaf1 update changelog and credits 2012-02-08 17:51:42 +00:00
Martin Grenfell
2f796a7ca1 puppet: fix indenting - make it consistent at 4 spaces 2012-02-08 13:41:37 +00:00
Martin Grenfell
b4e7f8598a puppet checker: only check the version once
Previously it was calling `system()` to check the puppet version on
every syntax check. Now we do this only once and cache the result.
2012-02-08 13:40:02 +00:00
Martin Grenfell
b30a9fad9a update some comments to reflect the new subtype functionality 2012-02-08 13:31:20 +00:00
Martin Grenfell
0de450de20 simplify how the 'subtype' option is added to errors
this is just a refactor to make things simpler and shorter
2012-02-08 13:31:20 +00:00
Martin Grenfell
6ffdf6ead9 Merge pull request #168 from zsprackett/puppet-version-fix
Make this work with releases > 2.7
2012-02-08 05:32:33 -08:00
Martin Grenfell
2b514d84bd Merge pull request #158 from technosophos/master
Support for subtypes
2012-02-07 08:31:54 -08:00
S. Zachariah Sprackett
d0a7546f1e Make this work with releases > 2.7 2012-02-07 11:27:32 -05:00
Matt Butcher
516b2eec4f Per #158: Removed SubtypeMasksType.
Because the subtype checker is never run when an error is found,
this is not necessary anymore.
2012-02-07 10:02:21 -06:00
Matt Butcher
51a9e96e20 Per #158 (and #155): Turning empty() check back on. 2012-02-07 09:58:00 -06:00
Martin Grenfell
fa1084cf8f DRY up the code that loads checkers when multiple exist
Javascript and json have multiple syntax checkers that can be loaded.
Previously the logic to determine which checker to load was basically
copied and pasted in both. The `go` checker will soon have more
than one option too so remove the duplication by sticking the
common code in the core.
2012-02-06 17:46:08 +00:00