Skip to content

Commit

Permalink
add latest syntastic hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
marty committed Dec 16, 2009
1 parent a419b47 commit 97214da
Show file tree
Hide file tree
Showing 11 changed files with 75 additions and 22 deletions.
73 changes: 63 additions & 10 deletions doc/syntastic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ CONTENTS *syntastic-contents*
2.1.The statusline flag...............|syntastic-statusline-flag|
2.2.Error signs.......................|syntastic-error-signs|
2.3.Error window......................|syntastic-error-window|
3.Options.................................|syntastic-options|
4.Writing syntax checkers.................|syntastic-syntax-checkers|
5.About...................................|syntastic-about|
6.License.................................|syntastic-license|
3.Commands................................|syntastic-commands|
4.Options.................................|syntastic-options|
5.Writing syntax checkers.................|syntastic-syntax-checkers|
6.About...................................|syntastic-about|
7.Changelog...............................|syntastic-changelog|
8.Credits.................................|syntastic-credits|
9.License.................................|syntastic-license|


==============================================================================
Expand Down Expand Up @@ -104,8 +107,21 @@ in the |location-list|.
Note that when you use :Errors, the current location list is overwritten with
Syntastic's own location list.


==============================================================================
3. Options *syntastic-options*
3. Commands *syntastic-commands*

:SyntasticDisable [filetype] *:SyntasticDisable*
Disables syntax checking for the the given filetype (if specified), or the
current filetype.

:SyntasticEnable [filetype] *:SyntasticEnable*
Enables syntax checking for the the given filetype (if specified), or the
current filetype.


==============================================================================
4. Options *syntastic-options*

*'syntastic_enable_signs'*
Use this option to tell syntastic to use the |:sign| interface to mark syntax
Expand Down Expand Up @@ -133,8 +149,16 @@ this option has the following effects:
>
let g:syntastic_quiet_warnings=1
<

*'syntastic_disabled_filetypes'*
Use this option to disable syntax checking on selected filetypes by default.
Should be set to a list of filetypes, e.g. >
let g:syntastic_disabled_filetypes = ['ruby', 'php']
<
Syntax checking can be enabled again via |:SyntasticEnable|.

==============================================================================
4. Writing syntax checkers *syntastic-syntax-checkers*
5. Writing syntax checkers *syntastic-syntax-checkers*


A syntax checker plugin is really nothing more than a single function. You
Expand Down Expand Up @@ -174,7 +198,7 @@ SyntasticMake({options}) *SyntasticMake()*


==============================================================================
5. About *syntastic-about*
6. About *syntastic-about*

The author of syntastic is a mighty wild stallion, hear him roar! >
_ _ _____ _____ ___ ___ ___ ____ _ _ _
Expand All @@ -185,8 +209,8 @@ The author of syntastic is a mighty wild stallion, hear him roar! >

<
He likes to trot around in the back yard reading his emails and sipping a
scolding hot cup of Earl Grey. Email him at martin_grenfell at msn dot com. He
can also be found trolling the #vim channel on the freenode IRC network as
scolding hot cup of Earl Grey. Email him at martin.grenfell at gmail dot com.
He can also be found trolling the #vim channel on the freenode IRC network as
scrooloose.

Bug reports, feedback, suggestions etc are welcomed.
Expand All @@ -198,7 +222,36 @@ The latest dev versions are on github
http://github.com/scrooloose/syntastic

==============================================================================
6. License *syntastic-license*
7. Changelog *syntastic-changelog*

1.1.0 [codenamed: tpimp]
- Dont load rubygems for ruby/eruby syntax checkers. Thanks tpope.
- Improve the javascript syntax checker to catch some warnings that were
getting missed. Thanks tpope.
- Dont automatically focus the error window. Thanks tpope.
- Add support for cucumber [tpope], haskell & perl [Anthony Carapetis],
and xhtml
- Add commands to enable/disable syntax checking at runtime. See :help
syntastic-commands.
- Add an option to specifiy syntax checkers that should be disabled by
default. See :help syntastic_disabled_filetypes.
- Dont use :signs if vim wasnt compiled with support for them.


==============================================================================
8. Credits *syntastic-credits*

Thanks to the following people for testing, bug reports, patches etc. They own,
hard.

Tim Carey-Smith (halorgium)
Tim Pope (tpope)
Travis Jeffery
Anthony Carapetis


==============================================================================
9. License *syntastic-license*

Syntastic is released under the wtfpl.
See http://sam.zoy.org/wtfpl/COPYING.
6 changes: 3 additions & 3 deletions plugin/syntastic.vim
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"============================================================================
"File: syntastic.vim
"Description: vim plugin for on the fly syntax checking
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Version: 1.0.0
"Last Change: 11 Aug, 2009
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"Version: 1.1.0
"Last Change: 16 Dec, 2009
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/cucumber.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"============================================================================
"File: cucumber.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/eruby.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"============================================================================
"File: eruby.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/haml.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"============================================================================
"File: haml.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/html.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"============================================================================
"File: html.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/javascript.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"============================================================================
"File: javascript.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/php.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"============================================================================
"File: php.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/ruby.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"============================================================================
"File: ruby.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/sass.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"============================================================================
"File: sass.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/xhtml.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"============================================================================
"File: xhtml.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
Expand Down

0 comments on commit 97214da

Please sign in to comment.