Attempt support for Rmd files

This commit is contained in:
Jim Hester 2015-12-04 10:52:21 -05:00
parent 4078f0db8b
commit bf60b72f3e
2 changed files with 14 additions and 0 deletions

View File

@ -71,6 +71,7 @@ let s:_DEFAULT_CHECKERS = {
\ 'python': ['python', 'flake8', 'pylint'],
\ 'qml': ['qmllint'],
\ 'r': [],
\ 'rmd': [],
\ 'racket': ['racket'],
\ 'rnc': ['rnv'],
\ 'rst': ['rst2pseudoxml'],

View File

@ -0,0 +1,13 @@
if exists('g:loaded_syntastic_rmd_lintr_checker')
finish
endif
let g:loaded_syntastic_rmd_lintr_checker = 1
runtime! syntax_checkers/r/lintr.vim
call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'filetype': 'rmd',
\ 'name': 'lintr',
\ 'redirect': 'r/lintr'})
" vim: set et sts=4 sw=4: