Attempt support for Rmd files
This commit is contained in:
parent
4078f0db8b
commit
bf60b72f3e
@ -71,6 +71,7 @@ let s:_DEFAULT_CHECKERS = {
|
||||
\ 'python': ['python', 'flake8', 'pylint'],
|
||||
\ 'qml': ['qmllint'],
|
||||
\ 'r': [],
|
||||
\ 'rmd': [],
|
||||
\ 'racket': ['racket'],
|
||||
\ 'rnc': ['rnv'],
|
||||
\ 'rst': ['rst2pseudoxml'],
|
||||
|
13
syntax_checkers/rmd/lintr.vim
Normal file
13
syntax_checkers/rmd/lintr.vim
Normal 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:
|
Loading…
Reference in New Issue
Block a user