Commit Graph

1001 Commits

Author SHA1 Message Date
Christian Höltje
3dc0b6dc24 Made SyntacticIsVersionAtLeast more robust
It now handles more cases, which will cause Syntastic to degrade better
when commands return weird versions (e.g. the command crashes).
2013-03-08 11:51:39 -05:00
Martin Grenfell
2003c772b0 Merge pull request #465 from chazlever/master
Fix Flake8 Error/Warning Parsing
2013-03-08 07:10:55 -08:00
Martin Grenfell
034727a04c Merge pull request #528 from jszakmeister/add-highlight-groups
Add highlight groups for the signs and the lines.
2013-03-08 07:09:10 -08:00
Martin Grenfell
531a069c1a fix syntastic_auto_jump functionality
Previously we removed the code to automatically set the loclist and only
set it when required. This was needed because otherwise we could
interfere with other plugins that use the loclist.

Add the call to setloclist back in only if syntastic_auto_jump is set.
This will blow away the loclist every time the file is checked, but
setting syntastic_auto_jump is the users choice.

Fixes #533
2013-03-08 15:04:22 +00:00
Martin Grenfell
e61aab2b12 Merge pull request #534 from xandox/master
Use mix for elixir if it available and vim started from project root
2013-03-08 06:53:48 -08:00
Martin Grenfell
eef491c5ac Merge pull request #538 from joshuarh/simplify-ruby-checker
remove unused function (because of 2519d83)
2013-03-08 06:50:24 -08:00
Martin Grenfell
7533269ae1 Merge pull request #540 from lcd047/chktex
New checker for TeX / LaTeX: ChkTeX.
2013-03-08 06:49:15 -08:00
LCD 47
ff3c05a413 Fix syntax highlighting.
The variable force_highlight_callback is gone.

Highlight functions are now consistently named
SyntaxCheckers_<filetype>_<checker>_GetHighlightRegex(), and they
take precedence over highlighting based on column.
2013-03-08 14:45:57 +00:00
Martin Grenfell
ed300e34e7 Merge pull request #547 from docwhat/puppet-lint
Typo: Check for puppet-lint, not puppet
2013-03-08 06:32:34 -08:00
Christian Höltje
6a1f624041 Typo: Check for puppet-lint, not puppet 2013-03-07 21:30:44 -05:00
Martin Grenfell
3e463db48e Merge pull request #537 from brendanjerwin/fix_coffeelint_options
Fix CoffeeLint parameter overrides
2013-03-04 06:59:01 -08:00
Martin Grenfell
b480992ae8 Merge pull request #532 from dbarnett/per_buffer
Add support for buffer-local b:syntastic_checkers var.
2013-03-04 01:17:25 -08:00
David Barnett
7e41fd12ce Update help file for b:syntastic_checkers 2013-03-03 17:58:27 -08:00
LCD 47
387c3bc264 New checker for TeX / LaTeX: ChkTeX. 2013-03-02 09:15:23 +02:00
Josh Hoff
746d0c063f remove unused function (because of 2519d83) 2013-02-28 19:29:58 -06:00
Brendan Erwin
fe87bb8b03 This allows the overrides to work 2013-02-28 07:38:25 -05:00
Martin Grenfell
2519d83569 Merge pull request #483 from medlefsen/fix_mri_ruby
Ruby checker breaks with rvm when using "system" ruby
2013-02-26 07:46:37 -08:00
Ely Arzhannikov
51e02ac31c Merge pull request #1 from xandox/use_mix_for_elixir
Use mix for elixir
2013-02-25 04:56:58 -08:00
David Barnett
a4a2867e8e Add support for buffer-local b:syntastic_checkers var. 2013-02-24 21:35:57 -08:00
Ely Arzhannikov
9d7b358d3d always return list 2013-02-24 19:16:06 +06:00
John Szakmeister
10697a6952 Add highlight groups for the signs and the lines.
This allows users to customize the coloring of Syntastic's signs, and
also provides them a way to highlight the entire line using :sign's
linehl feature.  It preserves the current default behavior of using
the error and todo highlight groups if the customized ones aren't
present.  If the linehl group doesn't exist, then it's the same as not
specifying one, so no special highlighting for the line will occur.
2013-02-23 07:13:57 -05:00
Ely Arzhannikov
a5024b1176 use mix for elixir 2013-02-23 18:01:44 +06:00
Martin Grenfell
182b3f01c0 docs: a couple of trivial updates 2013-02-22 10:27:51 +00:00
Martin Grenfell
81e9f7aeea Merge pull request #526 from cheecheeo/master
Point out syntastic global variables earlier
2013-02-22 02:26:50 -08:00
John Chee
10d1b282ce Point out syntastic global variables earlier
Update README -> FAQ to include an explicit question "How can I pass
additional arguments to a checker" and update to the vimdoc "Configuring
specific checkers" to point users to global variables accepted by
'syntastic#makeprg#build' before pointing them to checker source code.
2013-02-21 18:14:46 -08:00
Martin Grenfell
5c6dcb0554 Merge pull request #524 from trprice/master
Fix the first GetLocList() functions to IsAvailable()
2013-02-21 15:35:30 -08:00
Taylor Price
fe346c8a41 For each of thise files, the IsAvailable function was mistakenly named with GetLocList. 2013-02-21 14:57:35 -08:00
Martin Grenfell
4a637e8315 Merge pull request #521 from trprice/master
ghd-mod.vim - Change the '-' (dash) in the "header guard" to a '_' (underscore) to fix an unexpected characters error.
2013-02-21 13:55:02 -08:00
Taylor Price
91e8b1ce84 Change the - (dash) in the header guard to _ (underscore) to fix an unxepected characters error 2013-02-21 10:10:22 -08:00
Martin Grenfell
8cc63c729a be more strict with default checker settings
If a filetype has default checker settings, then only allow those
checkers to be used by default. The user must manually specify other
checkers to use if they dont want the default.

In future the `s:defaultCheckers` hash should be more complex (or
possibly an object) that allows us to specify "only" vs "preferred".

This change was made in response to the html filetype using the w3
checker when tidy is not installed.
2013-02-21 16:50:39 +00:00
Martin Grenfell
342a13eec2 Merge pull request #514 from dominic-goog/master
fix 'missing endfunction' error for dart
2013-02-21 08:30:10 -08:00
Martin Grenfell
fce786f59a Merge pull request #516 from mybuddymichael/master
Don't pass -fno-code to Haskell's ghc
2013-02-21 08:23:29 -08:00
Martin Grenfell
b7301ba258 Merge pull request #517 from trprice/master
Fix the "Missing :endfunction" in syntax_checkers\objc\gcc.vim
2013-02-21 08:21:48 -08:00
Martin Grenfell
16424e5761 add guards to all checkers
goddamn I love macros
2013-02-21 15:50:41 +00:00
Martin Grenfell
31789e4e8e lisp/clisp: add a missing comma 2013-02-21 15:21:43 +00:00
Martin Grenfell
b082efb6cb Merge pull request #509 from lcd047/master
Drop g:syntastic_perl_perlcritic_options.
2013-02-21 07:18:08 -08:00
Taylor Price
475f3f934c Change the endif on SyntaxCheckers_objc_gcc_IsAvailable to endfunction 2013-02-19 16:51:07 -08:00
Michael Hanson
dd4e3af44d Don't pass -fno-code to ghc 2013-02-19 15:19:04 -08:00
Dominic Hamon
a875cd2101 Update syntax_checkers/dart/dart_analyzer.vim 2013-02-19 13:14:21 -08:00
LCD 47
c3f5414048 Modeline for help. 2013-02-19 09:22:02 +02:00
LCD 47
4842eed1ba Drop g:syntastic_perl_perlcritic_options.
This variable has been rendered obsolete by the standard mechanism
of g:syntastic_perl_perlcritic_args.
2013-02-16 09:34:58 +02:00
Martin Grenfell
0fcf795140 coffeelint: remove unused and unneeded coffelint args option 2013-02-15 10:14:34 +00:00
Martin Grenfell
1d681c546d vala: remove the option to disable it
This can be done with:

`let g:syntastic_mode_map={'passive_filetypes': 'vala'}` or by setting
`let g:syntastic_vala_checkers=[]`

Closes #502.
2013-02-14 15:52:40 +00:00
Martin Grenfell
34a1fa673e readme: fix a couple of typos 2013-02-14 15:00:28 +00:00
Martin Grenfell
837722c2d8 add an faq about option names changing and remove changelog from readme 2013-02-14 14:58:47 +00:00
Martin Grenfell
c787bca6de twig: use syntastic#makeprg#build 2013-02-11 17:42:43 +00:00
Martin Grenfell
3870ae133b Merge pull request #496 from mixvin/patch-1
Added explicit call of escript
2013-02-10 15:07:33 -08:00
Mikhail Vinogradov
417fd8b484 Added explicit call of escript
Added explicit call of escript, to run check, bypassing shell (actual for Windows)
2013-02-11 02:18:56 +04:00
Martin Grenfell
9c211a7d55 first round of updates to the doc
* remove the changelog, credits and (outdated) doc on writing syntax
  checkers
* doc the `syntastic#makeprg#build()` options
* doc how to select which syntax checkers to use
2013-02-10 17:32:15 +00:00
Martin Grenfell
240ad4b34f add an faq RE setting which checkers to use 2013-02-10 16:51:02 +00:00