From 67fc031e0481eb37deb5287c24e40acfa219f1b6 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Thu, 12 Mar 2015 20:31:36 +0200 Subject: [PATCH] Manual: fix examples to use g:syntastic_shell. --- doc/syntastic.txt | 13 ++++++------- plugin/syntastic.vim | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/doc/syntastic.txt b/doc/syntastic.txt index 60beace0..44914436 100644 --- a/doc/syntastic.txt +++ b/doc/syntastic.txt @@ -608,7 +608,7 @@ Set this to the full path of the shell you want syntastic to use when running the checkers. On UNIX and Mac OS-X this shell has to support the standard UNIX syntax for file redirections ">" and "2>", such as "zsh", "bash", "ksh", or even the original Bourne "sh". Example: > - set shell=/bin/bash + let g:syntastic_shell = "/bin/sh" < *'syntastic_debug'* Default: 0 @@ -816,11 +816,10 @@ have to set |ycm_show_diagnostics_ui| to 0. E.g.: > At the time of this writing the 'fish' shell (see http://fishshell.com/) doesn't support the standard UNIX syntax for file redirections, and thus it -can't be used together with syntastic. You don't need to change your login -shell to address this problem, but you do have to point Vim's 'shell' to a more -traditional shell, such as "zsh", "bash", "ksh", or even the original Bourne -"sh": > - set shell=bash +can't be used together with syntastic. You can however set |g:syntastic_shell| +to a more traditional shell, such as "zsh", "bash", "ksh", or even the +original Bourne "sh": > + let g:syntastic_shell = "/bin/sh" < ------------------------------------------------------------------------------ 6.6. Interaction with PowerShell *syntastic-powershell* @@ -842,7 +841,7 @@ is possible, but potentially problematic. In order to do it you'll need to set Please keep in mind however that Vim can't take advantage of any of the interactive features of 'fizsh'. Using a more traditional shell such as "zsh", "bash", "ksh", or the original Bourne "sh" might be a better choice: > - set shell=zsh + let g:syntastic_shell = "/bin/sh" < ------------------------------------------------------------------------------ 6.8. Interaction with Eclim *syntastic-eclim* diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index f4a11174..a9c44fd3 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.6.0-53' +let g:_SYNTASTIC_VERSION = '3.6.0-54' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1