Updates to the manual.

Update section about powerline.
Remove section about vim-airline (it now works out of the box).
This commit is contained in:
LCD 47 2015-04-17 13:28:54 +03:00
parent 615c890e71
commit 48090a19f2
2 changed files with 23 additions and 27 deletions

View File

@ -48,11 +48,10 @@ CONTENTS *syntastic-contents*
7.5.powerline..............................|syntastic-powerline| 7.5.powerline..............................|syntastic-powerline|
7.6.The PowerShell shell...................|syntastic-powershell| 7.6.The PowerShell shell...................|syntastic-powershell|
7.7.python-mode............................|syntastic-pymode| 7.7.python-mode............................|syntastic-pymode|
7.8.vim-airline............................|syntastic-vim-airline| 7.8.vim-auto-save..........................|syntastic-vim-auto-save|
7.9.vim-auto-save..........................|syntastic-vim-auto-save| 7.9.vim-go.................................|syntastic-vim-go|
7.10.vim-go................................|syntastic-vim-go| 7.10.vim-virtualenv........................|syntastic-vim-virtualenv|
7.11.vim-virtualenv........................|syntastic-vim-virtualenv| 7.11.YouCompleteMe.........................|syntastic-ycm|
7.12.YouCompleteMe.........................|syntastic-ycm|
8.About........................................|syntastic-about| 8.About........................................|syntastic-about|
9.License......................................|syntastic-license| 9.License......................................|syntastic-license|
@ -863,13 +862,20 @@ interactive features of "fizsh". Using a more traditional shell such as "zsh",
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
7.5. powerline *syntastic-powerline* 7.5. powerline *syntastic-powerline*
Syntastic uses the standard Vim variable |w:quickfix_title| to show the names The "powerline" Vim plugin (https://github.com/powerline/powerline) comes
of the checkers responsible for the current error lists on the statusline of packaged with a syntastic segment. To customize this segment create a file
the error window. At the time of this writing the "powerline" Vim plugin ~/.config/powerline/themes/vim/default.json, with a content like this: >
(https://github.com/powerline/powerline) ignores |w:quickfix_title|, which {
means it won't show the corresponding information on the statusline of the "segment_data" : {
error window. "powerline.segments.vim.plugin.syntastic.syntastic" : {
"args" : {
"err_format" : "Err: {first_line} #{num} ",
"warn_format" : "Warn: {first_line} #{num} "
}
}
}
}
<
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
7.6. The PowerShell shell *syntastic-powershell* 7.6. The PowerShell shell *syntastic-powershell*
@ -891,24 +897,14 @@ for python in syntastic (see |syntastic_mode_map|), or disable lint checks in
let g:pymode_lint_write = 0 let g:pymode_lint_write = 0
< <
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
7.8. vim-airline *syntastic-vim-airline* 7.8. vim-auto-save *syntastic-vim-auto-save*
Syntastic uses the standard Vim variable |w:quickfix_title| to show the names
of the checkers responsible for the current error lists on the statusline of
the error window. At the time of this writing the "vim-airline" Vim plugin
(https://github.com/bling/vim-airline) ignores |w:quickfix_title|, which means
it won't show the corresponding information on the statusline of the error
window.
------------------------------------------------------------------------------
7.9. vim-auto-save *syntastic-vim-auto-save*
Syntastic can be used together with the "vim-auto-save" Vim plugin (see 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 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. mode only work with "vim-auto-save" version 0.1.7 or later.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
7.10. vim-go *syntastic-vim-go* 7.9. vim-go *syntastic-vim-go*
The "vim-go" Vim plugin (https://github.com/fatih/vim-go) uses |quickfix| 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| lists, and thus doesn't conflict with syntastic (which uses |location-list|
@ -921,7 +917,7 @@ from showing a quickfix window when |g:go_fmt_command| fails, by setting
let g:go_fmt_fail_silently = 1 let g:go_fmt_fail_silently = 1
< <
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
7.11. vim-virtualenv *syntastic-vim-virtualenv* 7.10. vim-virtualenv *syntastic-vim-virtualenv*
At the time of this writing, syntastic can't run checkers installed At the time of this writing, syntastic can't run checkers installed
in Python virtual environments activated by "vim-virtualenv" (see in Python virtual environments activated by "vim-virtualenv" (see
@ -929,7 +925,7 @@ https://github.com/jmcantrell/vim-virtualenv). This is a limitation of
"vim-virtualenv". "vim-virtualenv".
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
7.12 YouCompleteMe *syntastic-ycm* 7.11 YouCompleteMe *syntastic-ycm*
Syntastic can be used together with the "YouCompleteMe" Vim plugin (see Syntastic can be used together with the "YouCompleteMe" Vim plugin (see
http://valloric.github.io/YouCompleteMe/). However, by default "YouCompleteMe" http://valloric.github.io/YouCompleteMe/). However, by default "YouCompleteMe"

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START lockvar! g:_SYNTASTIC_START
endif endif
let g:_SYNTASTIC_VERSION = '3.6.0-74' let g:_SYNTASTIC_VERSION = '3.6.0-75'
lockvar g:_SYNTASTIC_VERSION lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1 " Sanity checks {{{1