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
Martin Grenfell
111b012548
Merge pull request #163 from naoina/master
...
Fix the error in the .c syntax checking and Python 3.x
2012-02-06 08:31:42 -08:00
Naoya INADA
a2e7ef08c0
Fix the error that occurs when using Python 3.x and written the '#include <Python.h>' in the .c file
2012-02-03 21:58:49 +09:00
Martin Grenfell
ad1481c2ce
Merge pull request #152 from irrationalfab/master
...
Improved less fix
2012-02-01 09:33:24 -08:00
Martin Grenfell
3bb2b7fe0c
Merge pull request #160 from acarapetis/patch-1
...
bugfix from Michael Ludwig for VIMRUNTIME paths with spaces (e.g. on windows)
2012-02-01 01:20:22 -08:00
Anthony Carapetis
d4683b39f0
bugfix from Michael Ludwig for VIMRUNTIME paths with spaces (e.g. on windwos)
2012-02-01 14:49:21 +11:00
Matt Butcher
8df5c3bcdc
Added support for error/warning subtyping.
2012-01-27 13:43:48 -06:00
Martin Grenfell
10f4d4d3e0
Merge pull request #156 from mitchellh/master
...
Python syntax checker executable check uses a string, when it should use value of the variable
2012-01-26 13:50:11 -08:00
Mitchell Hashimoto
c6d464bb62
Python executable check should use the variable, not a string
2012-01-26 11:29:07 -08:00
Martin Grenfell
31970a8ac0
Merge pull request #155 from AD7six/feature/php-no-phpcs-on-parseerror
...
only run phpcs if the file has no syntax errors.
2012-01-25 03:36:12 -08:00
AD7six
7fedd203e7
only run phpcs if the file has no syntax errors.
...
running phpcs on a file which contains a parse error generates a huge
number of warnings from the phpcs library. This can freeze vim for
minutes at a time while it attempts to parse these
notices/warnings/errors.
Therefore - don't run phpcs on files which have parse errors.
2012-01-25 12:28:54 +01:00
Fabio
1724155881
less: improved errorformat for v1.2
...
* previous version would skip "NameError" and potentially other errors
* introduced support for the capture of the error message
2012-01-19 19:28:18 +01:00
Martin Grenfell
fe5b8989af
less: simplify 1.2 errorformat and split errorformat up
...
* remove some unneeded escaping of spaces and colons from the 1.2
errorformat
* split the pre and post 1.2 errorformats up and comment them for future
clarity
2012-01-19 13:01:12 +00:00
Martin Grenfell
42ea3426d1
cuda: simplify/fix the executable checking
...
Remove the g:syntastic_nvcc_binary option as this should be in the users
path - or at least symlinked in. Also, the logic was broken in that the
script was hardcoded to only accept '/usr/local/cuda/bin/nvcc' as the
binary anyway.
2012-01-19 12:47:48 +00:00
Martin Grenfell
ae5171e453
Merge pull request #147 from irrationalfab/master
...
less fix
2012-01-18 08:55:51 -08:00
Fabio
e603586f4e
removed .DS_Store and added it to .gitignore
2012-01-18 17:14:56 +01:00
Martin Grenfell
74d45605e5
Merge pull request #145 from darcyparker/master
...
shellescape(expand()) the filename passed
2012-01-18 05:31:31 -08:00