Commit Graph

1595 Commits

Author SHA1 Message Date
LCD 47
2c1c0d0eeb Safety checks for ghc-mod. 2013-11-05 20:28:19 +02:00
LCD 47
fd5a52e0bd Cleanup. 2013-11-04 23:00:51 +02:00
LCD 47
d9296d6321 Update scss_lint to the new registry framework. 2013-11-04 20:00:35 +02:00
LCD 47
1790a06de5 Merge branch 'master' into registry_cleanup 2013-11-04 19:59:21 +02:00
LCD 47
4c2dcf23a6 Cleanup. 2013-11-04 19:55:31 +02:00
Shane da Silva
0d207aaec5 Add scss-lint checker for SCSS files
Add checker for linting and syntax checking SCSS files with `scss-lint`
(https://github.com/causes/scss-lint/).
2013-11-03 18:00:25 -08:00
LCD 47
424ad20bb4 Update for shellcheck. 2013-11-02 10:44:06 +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
LCD 47
14cb306414 New option g:syntastic_id_checkers.
Default: 1.  There is also a local version b:syntastic_id_checkers.
2013-11-02 10:39:06 +02:00
LCD 47
c2e1429c4e Reword the message given by SyntasticInfo. 2013-11-01 16:51:50 +02:00
LCD 47
cd1d1a2a55 Cleanup. 2013-11-01 11:51:04 +02:00
LCD 47
e67e5998da Moved initialization of g:syntastic_delayed_redraws to util.vim. 2013-10-30 07:21:46 +02:00
LCD 47
bcbcb7c6fb Merge branch 'delayed_redraws' 2013-10-29 20:35:02 +02:00
LCD 47
2106176b8a New checker for sh: shellcheck.
See the project's page for details: https://github.com/koalaman/shellcheck .
2013-10-29 20:24:07 +02:00
LCD 47
5827b6a416 Document g:syntastic_delayed_redraws. Minor cleanup. 2013-10-29 17:51:15 +02:00
LCD 47
e4726f4f63 Add a note to the manual about the fish shell. 2013-10-29 09:37:13 +02:00
LCD 47
f623d1ea05 Workaround for a Vim crash.
Older versions of Vim can crash if redraw is called while a popup is
visible.  This commit adds a variable g:syntastic_delayed_redraws that
instructs syntastic to move redraws to a CursorHold / CursorHoldI
handler if redraw is called while pumvisible() is true.
2013-10-29 09:09:34 +02:00
LCD 47
022c49371f Check for a minimal set of Vim features at startup. 2013-10-29 01:15:44 +02:00
LCD 47
3fa735d7ff Add a note about python-mode to the docs. 2013-10-29 00:50:30 +02:00
LCD 47
c87d17444f Make syntastic re-read g:syntastic_mode_map at every check. 2013-10-28 21:53:10 +02:00
LCD 47
8eba8c3a45 Update version string. 2013-10-28 20:29:10 +02:00
LCD 47
afb10fac26 Coco checker: typo. 2013-10-28 12:31:16 +02:00
LCD 47
0ef7312cab Handlebars checker: send normal output to /dev/null. 2013-10-28 08:51:29 +02:00
LCD 47
c8e173c4ef Make g:syntastic_filetype_map apply to composite filetypes.
Normally composite types are handled by splitting them into simple
components, and applying the corresponding (simple) checkers.  This
behaviour can now be disabled, by mapping composite types to a simple
ones.
2013-10-28 08:20:21 +02:00
LCD 47
68b2c651b3 Fix handlebars errorformat. 2013-10-25 16:30:00 +03:00
LCD 47
ccef916d48 More magic / nomagic fun. 2013-10-25 15:56:09 +03:00
LCD 47
95aab2530e Try to avoid fun with magic / nomagic by qualifying regexps. 2013-10-25 15:46:16 +03:00
LCD 47
16b246e1c1 Remove leftovers from the latest validator refactor. 2013-10-25 15:08:41 +03:00
LCD 47
d238665385 Fix unwanted filter() and map() side effects. Minor cleanup. 2013-10-23 12:59:23 +03:00
LCD 47
1b0595d1d2 Merge pull request #827 from YorickPeterse/ruby-lint
Added a syntax checker for ruby-lint.
2013-10-21 23:14:30 -07:00
Yorick Peterse
5ee1406021 Added a syntax checker for ruby-lint.
ruby-lint is a linter for Ruby, see https://github.com/YorickPeterse/ruby-lint
for more information.
2013-10-21 23:54:10 +02:00
LCD 47
f92741d3f6 Added Chef to the list of supported languages. 2013-10-17 19:57:31 +03:00
LCD 47
1cef6fa9b2 Merge pull request #821 from dougireton/chef_foodcritic
Add foodcritic syntax checker for Chef files
2013-10-17 09:54:33 -07:00
Ireton, Doug
e4fcb80ee4 Add filetype and subchecker args to foodcritic makeprg 2013-10-17 06:22:44 -07:00
LCD 47
df1328733a Minor help re-wording. 2013-10-17 14:23:03 +03:00
Ireton, Doug
304d3649c5 Add foodcritic syntax checker for Chef files
Requires a ftdetect plugin to set filetype to chef or ruby.chef, e.g. vim-chef (https://github.com/dougireton/vim-chef)
2013-10-16 22:17:26 -07:00
LCD 47
c035ac2426 The html/validator checker chokes on empty lines in curl output. 2013-10-10 19:26:44 +03:00
LCD 47
2fbd870a20 Deal with more pylint versioning creativity. 2013-10-08 18:24:14 +03:00
LCD 47
58ba3d4294 Merge pull request #807 from mutewinter/patch-1
Fix wiki link
2013-10-03 08:01:47 -07:00
Jeremy Mack
41059ba9ce Fix wiki link 2013-10-03 10:02:12 -04:00
LCD 47
753cbdf3ec Add Handlebars to the list of supported languages. 2013-10-03 10:16:30 +03:00
LCD 47
47ac858692 Merge pull request #806 from mutewinter/handlebars
Handlebars Support
2013-10-02 23:23:59 -07:00
Jeremy Mack
e59826164e Handlebars support 2013-10-02 22:56:26 -04:00
LCD 47
86160723dc Add a pointer to the wiki page for more docs. 2013-10-01 19:53:11 +03:00
LCD 47
d74a2e19f9 Rename erlang.vim --> escript.vim. 2013-09-30 14:52:36 +03:00
LCD 47
1e44002f82 Erlang checker cleanup. 2013-09-30 14:52:01 +03:00
LCD 47
ce2270e228 Perl checker: deal with the "-t" taint checking. 2013-09-29 22:13:36 +03:00
LCD 47
2e7a16bf65 Rework of the perl checker.
Helper script efm_perl.pl is no longer needed, error formatting is now
done in a preprocess function.

g:syntastic_perl_interpreter is now a list.  If set to a string,
the value is still used for backward compatibility, but a
deprecation warning is issued.  There is also a buffer-scoped
b:syntastic_perl_interpreter.

Warnings are are now checked only if no errors are found.
2013-09-29 17:29:21 +03:00