Commit Graph

11 Commits

Author SHA1 Message Date
Martin Grenfell
1ce4d31930 fix a bug with the sh checker 2011-12-05 15:07:22 +00:00
Martin Grenfell
ae9f45cf4a fix a small bug with the sh syntax checker and refactor
Previously, if we edited a new bash script then we would have to wipeout
the buffer and recreate it to get syntastic to recognise it as a bash
script. This is because it parsed out a magic number and cached that -
and it trivially fails to find a magic number when you create a new
file.

So recheck for a magic number if it is currently empty.

Also, do a small refactor.
2011-12-04 02:28:21 +00:00
Jeremy Cantrell
5f775a452c Fixed shebang detection for multiple buffers 2010-06-24 13:05:07 +08:00
kongo2002
7d6452a15f recognize '#!/bin/sh' as well 2010-02-19 09:44:45 +08:00
Jeremy Cantrell
6788c8513a User's shell was being used instead of the one specific to the filetype 2010-02-19 09:44:18 +08:00
kongo2002
0b157baa96 change maintainer of c/cpp/sh syntax checker 2009-12-23 04:11:40 +08:00
kongo2002
9d1438bbae add short explanation for c/cpp header file checking 2009-12-23 04:11:39 +08:00
kongo2002
bcbb485f7a added some shellescape() 2009-12-23 04:11:37 +08:00
kongo2002
5ae0aaab58 process all lines given by bash output 2009-12-23 04:11:37 +08:00
kongo2002
5ccfddf7b7 check for bash or zsh 2009-12-23 04:11:36 +08:00
kongo2002
bc087ce754 first try on shell syntax checker 2009-12-23 04:11:36 +08:00