From 2e60dd4af9f69d9319ce5f6bc8e36e36f0105b8e Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Fri, 10 Jul 2015 11:24:24 +0300 Subject: [PATCH] Manual: add a note about Tim Pope's "flagship". --- doc/syntastic.txt | 43 +++++++++++++++++++++++++++---------------- plugin/syntastic.vim | 2 +- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/doc/syntastic.txt b/doc/syntastic.txt index ac39e648..e118d4cb 100644 --- a/doc/syntastic.txt +++ b/doc/syntastic.txt @@ -46,14 +46,15 @@ CONTENTS *syntastic-contents* 7.2.Eclim..................................|syntastic-eclim| 7.3.The fish shell.........................|syntastic-fish| 7.4.The fizsh shell........................|syntastic-fizsh| - 7.5.powerline..............................|syntastic-powerline| - 7.6.The PowerShell shell...................|syntastic-powershell| - 7.7.python-mode............................|syntastic-pymode| - 7.8.vim-auto-save..........................|syntastic-vim-auto-save| - 7.9.vim-go.................................|syntastic-vim-go| - 7.10.vim-virtualenv........................|syntastic-vim-virtualenv| - 7.11.YouCompleteMe.........................|syntastic-ycm| - 7.12.The zsh shell and rvm.................|syntastic-zsh| + 7.5.flagship...............................|syntastic-flagship| + 7.6.powerline..............................|syntastic-powerline| + 7.7.The PowerShell shell...................|syntastic-powershell| + 7.8.python-mode............................|syntastic-pymode| + 7.9.vim-auto-save..........................|syntastic-vim-auto-save| + 7.10.vim-go................................|syntastic-vim-go| + 7.11.vim-virtualenv........................|syntastic-vim-virtualenv| + 7.12.YouCompleteMe.........................|syntastic-ycm| + 7.13.The zsh shell and rvm.................|syntastic-zsh| 8.About........................................|syntastic-about| 9.License......................................|syntastic-license| @@ -872,7 +873,17 @@ interactive features of "fizsh". Using a more traditional shell such as "zsh", let g:syntastic_shell = "/bin/sh" < ------------------------------------------------------------------------------ -7.5. powerline *syntastic-powerline* +7.5 flagship *syntastic-flagship* + +The "flagship" Vim plugin (https://github.com/tpope/vim-flagship) has its +own mechanism of showing flags on the |'statusline'|. To allow "flagship" +to manage syntastic's statusline flag add the following |autocommand| to +your vimrc, rather than explicitly adding the flag to your |'statusline'| as +described in the |syntastic-statusline-flag| section above: > + autocmd User Flags call Hoist("window", "SyntasticStatuslineFlag") +< +------------------------------------------------------------------------------ +7.6. powerline *syntastic-powerline* The "powerline" Vim plugin (https://github.com/powerline/powerline) comes packaged with a syntastic segment. To customize this segment create a file @@ -889,7 +900,7 @@ packaged with a syntastic segment. To customize this segment create a file } < ------------------------------------------------------------------------------ -7.6. The PowerShell shell *syntastic-powershell* +7.7. The PowerShell shell *syntastic-powershell* At the time of this writing, syntastic is not compatible with using "Windows PowerShell" (http://technet.microsoft.com/en-us/library/bb978526.aspx) as Vim's @@ -898,7 +909,7 @@ Vim's 'shell' to a more traditional program, such as "cmd.exe": > set shell=cmd.exe < ------------------------------------------------------------------------------ -7.7 python-mode *syntastic-pymode* +7.8 python-mode *syntastic-pymode* Syntastic can be used along with the "python-mode" Vim plugin (see https://github.com/klen/python-mode). However, they both run syntax checks by @@ -909,14 +920,14 @@ for python in syntastic (see |syntastic_mode_map|), or disable lint checks in let g:pymode_lint_write = 0 < ------------------------------------------------------------------------------ -7.8. vim-auto-save *syntastic-vim-auto-save* +7.9. vim-auto-save *syntastic-vim-auto-save* Syntastic can be used together with the "vim-auto-save" Vim plugin (see https://github.com/907th/vim-auto-save). However, syntastic checks in active mode only work with "vim-auto-save" version 0.1.7 or later. ------------------------------------------------------------------------------ -7.9. vim-go *syntastic-vim-go* +7.10. vim-go *syntastic-vim-go* The "vim-go" Vim plugin (https://github.com/fatih/vim-go) uses |quickfix| lists, and thus doesn't conflict with syntastic (which uses |location-list| @@ -929,7 +940,7 @@ from showing a quickfix window when |g:go_fmt_command| fails, by setting let g:go_fmt_fail_silently = 1 < ------------------------------------------------------------------------------ -7.10. vim-virtualenv *syntastic-vim-virtualenv* +7.11. vim-virtualenv *syntastic-vim-virtualenv* At the time of this writing, syntastic can't run checkers installed in Python virtual environments activated by "vim-virtualenv" (see @@ -937,7 +948,7 @@ https://github.com/jmcantrell/vim-virtualenv). This is a limitation of "vim-virtualenv". ------------------------------------------------------------------------------ -7.11 YouCompleteMe *syntastic-ycm* +7.12 YouCompleteMe *syntastic-ycm* Syntastic can be used together with the "YouCompleteMe" Vim plugin (see http://valloric.github.io/YouCompleteMe/). However, by default "YouCompleteMe" @@ -948,7 +959,7 @@ have to set |ycm_show_diagnostics_ui| to 0. E.g.: > let g:ycm_show_diagnostics_ui = 0 < ------------------------------------------------------------------------------ -7.12 The zsh shell and rvm *syntastic-zsh* +7.13 The zsh shell and rvm *syntastic-zsh* If you're running MacVim together with the "zsh" shell (http://www.zsh.org/) and "rvm" (https://rvm.io/), you need to be aware that MacVim does not source diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 88e988c3..91f9d797 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-118' +let g:_SYNTASTIC_VERSION = '3.6.0-119' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1