Commit Graph

430 Commits

Author SHA1 Message Date
Martin Grenfell
2616623bb9 xml/xslt: shellescape() the filename that is passed it
previously, checking an xml/xslt file called "foo bar.xml" would fail
2012-01-13 15:31:36 +00:00
Martin Grenfell
469e4efd0a Merge pull request #142 from darcyparker/18834a35877b756049b0c241de750d8e17f0eff0
A cleaner fix for wrapping makeprg's arguments that have spaces.
2012-01-13 07:15:26 -08:00
Darcy Parker
18834a3587 Wrapped arguments with spaces that were previously wrapped in single
quotes with shellescape().  cmd.exe on win32/64 does not recognize
single quotes properly.  shellescape() correctly wraps arguments with
spaces using double quotes on win32/64.
2012-01-13 09:34:40 -05:00
Martin Grenfell
10e6fe51f0 add locaml checker and make it alias ocaml
Move the locaml->lcaml alias function out of the ocaml checker as this
code wont be loaded for locaml files - only syntax checkers for filetype
that are in use get sourced
2012-01-13 12:16:31 +00:00
Martin Grenfell
f7072dd0ff ocaml: fix mixed indenting
indent with spaces only, and consistently use 4 spaces
2012-01-13 12:11:43 +00:00
Martin Grenfell
9d17fe4c4d Merge pull request #141 from edwintorok/master
OCaml syntax checker
2012-01-13 04:09:46 -08:00
Török Edwin
d5cee024e9 add OCaml syntax checker 2012-01-13 14:00:53 +02:00
Darcy Parker
8ddb0037af Fixed makeprg for win32 and win64 to use double quotes instead of single quotes. Now tidy can be executed properly. 2012-01-12 15:38:09 -05:00
Martin Grenfell
4d957c8658 sass: fix a bug with imports
Only cache the imports when the syntax checker is first loaded. Also,
there was a bug in the logic that was causing the imports to be set to
"" on the second run.

Make the imports var script local since we are not allowing users to
change it.
2012-01-11 16:31:56 +00:00
Martin Grenfell
64cb6860fb Merge pull request #138 from rephorm/local
missing 'let' in fortran.vim
2012-01-07 02:07:41 -08:00
Brian Mattern
9335b9dca5 missing 'let' in fortran.vim 2012-01-06 17:07:58 -08:00
Martin Grenfell
c05a36f66c jslint: update for jslint 0.1.4 2012-01-06 19:06:47 +00:00
Martin Grenfell
cd99a2d084 haxe: remove a stray echo and fix a function name
rename Find_in_parent to FindInParent for consistency and make it local
to the script
2012-01-06 18:20:04 +00:00
Martin Grenfell
c2b5cd1686 haxe: make the indentation consistent 2012-01-06 18:14:43 +00:00
Martin Grenfell
55f7ffe30b Merge pull request #137 from davidB/master
haxe support
2012-01-06 10:14:12 -08:00
David Bernard
47dcc47980 haxe: update Maintainer 2011-12-28 22:19:12 +01:00
David Bernard
78e1ea2b34 add basic support for haxe 2011-12-28 22:12:45 +01:00
Martin Grenfell
c8dc739e55 update the readme 2011-12-27 19:13:27 +00:00
Martin Grenfell
5413e9d84e make a cosmetic update to readme/screenshot 2011-12-27 19:10:13 +00:00
Martin Grenfell
3e73282693 update readme and add a screenshot 2011-12-27 19:05:16 +00:00
Martin Grenfell
e6224d770f Merge pull request #136 from ixti/master
Updates js-yaml installation instructions
2011-12-24 13:56:29 -08:00
Aleksey V Zapparov
0d4a99c31b Updates js-yaml installation comment 2011-12-24 22:26:33 +01:00
Martin Grenfell
d949b9415e yaml: remove a stay line
This should never have been added - just a debugging leftover
2011-12-24 17:51:58 +00:00
Martin Grenfell
ab1906e72e add yaml syntax checker 2011-12-24 13:18:18 +00:00
Martin Grenfell
54896becd3 bump to 2.2.0 and update changelog 2011-12-24 11:31:19 +00:00
Martin Grenfell
466f762841 add a ! to a function def 2011-12-24 11:05:51 +00:00
Martin Grenfell
d88db85b07 refactor g:syntastic_check_on_open
init g:syntastic_check_on_open with the rest of the options - this means
we only check exists("...") once rather than every time the autocmd is
run. Plus it reads better IMO.
2011-12-24 09:44:01 +00:00
kongo2002
9a9da94494 evaluate g:syntastic_check_on_open without having to restart vim 2011-12-24 01:33:07 +01:00
Martin Grenfell
9633837e16 dont do syntax checks when opening buffers
Only do syntax checks when saving files. Add the g:syntax_check_on_open
option to force the check when opening.

See #134
2011-12-23 23:46:39 +00:00
Martin Grenfell
58cd0d340c update the javascript/jslint syntax checker
The jslint guys have changed their error format again. Update the syntax
checker to handle it.

Currently jslint outputs a "use strict" error if a function doesnt have
'use strict' at the top. This is not good for our purposes, so just
filter this out for now.
2011-12-23 23:09:03 +00:00
Martin Grenfell
7fe7900c8b refactor s:AutoToggleLocList()
move some code out of AutoToggleLocList and into UpdateErrors so that
AutoToggleLocList is only responsible for displaying/hiding the location
list window
2011-12-23 13:56:49 +00:00
Martin Grenfell
224fd0f1a5 update credits 2011-12-22 00:18:14 +00:00
Martin Grenfell
2c6b271321 simpify s:ModeMapAllowsAutoChecking() 2011-12-22 00:10:13 +00:00
Martin Grenfell
d13264513d Revert "remove the ability to check compound filetypes"
This reverts commit fb0259a4ef.

Turns out there is a use case for this after all, as reported by
@benjifisher in #133

Conflicts:

	plugin/syntastic.vim
2011-12-21 23:52:58 +00:00
Martin Grenfell
abc33ebcea update changelog/credits 2011-12-20 09:33:31 +00:00
Martin Grenfell
a24bf027cc fix a bug with EchoCurrentError
due to an error in the logic, the echo window was being cleared after
every cursor movement instead of when moving the cursor off an error
2011-12-19 23:04:49 +00:00
Martin Grenfell
4f6ed48de5 Merge pull request #132 from kongo2002/haskell_efm
Improve Haskell errorformat
2011-12-19 13:53:36 -08:00
kongo2002
fc987cead3 parse haskell error and warning tags 2011-12-18 21:26:39 +01:00
Martin Grenfell
d3ed7b043e Merge remote-tracking branch 'kongo2002/c_improve' 2011-12-18 19:07:41 +00:00
Martin Grenfell
587c565df3 Merge pull request #130 from kongo2002/fix_errors
fix small bug in s:Errors()
2011-12-18 10:05:49 -08:00
kongo2002
138e48c275 C: readd default include dirs 2011-12-18 19:05:40 +01:00
kongo2002
18073102b3 C: option to remove errors from included files (#70) 2011-12-18 18:59:24 +01:00
kongo2002
5accceb04a C: add some explanatory comments 2011-12-18 18:25:07 +01:00
kongo2002
309652c840 C: modify the default include directories 2011-12-18 18:24:28 +01:00
kongo2002
58e65d99a4 C: remove duplicates in include directories 2011-12-18 18:09:27 +01:00
kongo2002
ef7deb1127 fix bug in s:Errors() introduced with commit 755eddaa 2011-12-18 17:57:03 +01:00
Martin Grenfell
26b5bb871c Merge remote-tracking branch 'millermedeiros/jsonlint'
Conflicts:
	doc/syntastic.txt
2011-12-18 13:43:50 +00:00
millermedeiros
dca9e450a2 add millermedeiros as maintainer of JSON syntax checker. 2011-12-18 11:06:09 -02:00
Martin Grenfell
755eddaa06 make all loclist items errors by default
If a syntax checker returns items with blank 'type' keys, then make them
errors. This simplifies things since we were previously making the
assumption that empty types are errors anyway. It also fixes a bug in
EchoCurrentError() function that was due to not checking for a blank ty
pe.
2011-12-18 00:47:46 +00:00
Martin Grenfell
fb0259a4ef remove the ability to check compound filetypes
remove this for now since it is not being used and will probably never
be used
2011-12-18 00:41:44 +00:00