Checker r/lint is going away.
The "lint" package has been removed from CRAN: https://github.com/halpo/lint/issues/23 The corresponding syntastic checker will be removed in future release. For now remove only the docs.
This commit is contained in:
parent
e0d044fa7e
commit
d7338f8a63
@ -4901,59 +4901,11 @@ SYNTAX CHECKERS FOR R *syntastic-checkers-r*
|
|||||||
|
|
||||||
The following checkers are available for R (filetype "r"):
|
The following checkers are available for R (filetype "r"):
|
||||||
|
|
||||||
1. lint.....................|syntastic-r-lint|
|
1. lintr....................|syntastic-r-lintr|
|
||||||
2. lintr....................|syntastic-r-lintr|
|
2. svtools..................|syntastic-r-svtools|
|
||||||
3. svtools..................|syntastic-r-svtools|
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
1. lint *syntastic-r-lint*
|
1. lintr *syntastic-r-lintr*
|
||||||
|
|
||||||
Name: lint
|
|
||||||
Maintainer: LCD 47 <lcd047@gmail.com>
|
|
||||||
|
|
||||||
This is a style checker for R files, using the R package "lint":
|
|
||||||
|
|
||||||
http://cran.r-project.org/web/packages/lint/
|
|
||||||
|
|
||||||
Checker option~
|
|
||||||
|
|
||||||
*'g:syntastic_r_lint_styles'*
|
|
||||||
Type: string
|
|
||||||
Default: "lint.style"
|
|
||||||
R list of style tests to apply.
|
|
||||||
|
|
||||||
Set 'g:syntastic_r_lint_styles' to something like this: >
|
|
||||||
let g:syntastic_r_lint_styles =
|
|
||||||
\ 'list(spacing.indentation.notabs, spacing.indentation.evenindent)'
|
|
||||||
<
|
|
||||||
See "lint"'s manual for possible values:
|
|
||||||
|
|
||||||
http://cran.r-project.org/web/packages/lint/lint.pdf
|
|
||||||
|
|
||||||
Note~
|
|
||||||
|
|
||||||
This checker doesn't call the "makeprgBuild()" function, and thus it ignores
|
|
||||||
the usual 'g:syntastic_r_lint_<option>' variables. The only exception is
|
|
||||||
'g:syntastic_r_lint_exec', which can still be used to override the "R"
|
|
||||||
executable.
|
|
||||||
|
|
||||||
Limitations~
|
|
||||||
|
|
||||||
The checker uses column numbers only when running into syntax errors. If
|
|
||||||
you're checking files containing tab characters, then Vim's 'tabstop' must
|
|
||||||
match R's idea of tabstop, otherwise column numbers will be shifted. At the
|
|
||||||
time of this writing R's tabstop is hardcoded to 8, so you should probably
|
|
||||||
add something like this to your vimrc: >
|
|
||||||
set tabstop=8
|
|
||||||
<
|
|
||||||
The "lint" package will only show at most 5 messages of a kind. At the time of
|
|
||||||
this writing this is not configurable.
|
|
||||||
|
|
||||||
Beware also that the checker is pretty slow when using the default style
|
|
||||||
setting of "lint.style".
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
2. lintr *syntastic-r-lintr*
|
|
||||||
|
|
||||||
Name: lintr
|
Name: lintr
|
||||||
Maintainer: Jim Hester <james.f.hester@gmail.com>
|
Maintainer: Jim Hester <james.f.hester@gmail.com>
|
||||||
@ -5001,7 +4953,7 @@ executable.
|
|||||||
See also: |syntastic-rmd-lintr|.
|
See also: |syntastic-rmd-lintr|.
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
3. svtools *syntastic-r-svtools*
|
2. svtools *syntastic-r-svtools*
|
||||||
|
|
||||||
Name: svtools
|
Name: svtools
|
||||||
Maintainer: LCD 47 <lcd047@gmail.com>
|
Maintainer: LCD 47 <lcd047@gmail.com>
|
||||||
|
@ -19,7 +19,7 @@ if has('reltime')
|
|||||||
lockvar! g:_SYNTASTIC_START
|
lockvar! g:_SYNTASTIC_START
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:_SYNTASTIC_VERSION = '3.8.0-33'
|
let g:_SYNTASTIC_VERSION = '3.8.0-34'
|
||||||
lockvar g:_SYNTASTIC_VERSION
|
lockvar g:_SYNTASTIC_VERSION
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
|
Loading…
Reference in New Issue
Block a user