Adding linting for rmd filetype (duplicate of rmarkdown)

This commit is contained in:
statquant 2019-09-14 15:55:04 +01:00
parent 61cfb3fefb
commit 34431d885b
3 changed files with 3 additions and 1 deletions

View File

@ -322,7 +322,7 @@ let s:default_registry = {
\ }, \ },
\ 'styler': { \ 'styler': {
\ 'function': 'ale#fixers#styler#Fix', \ 'function': 'ale#fixers#styler#Fix',
\ 'suggested_filetypes': ['r', 'rmarkdown'], \ 'suggested_filetypes': ['r', 'rmarkdown', 'rmd'],
\ 'description': 'Fix R files with styler.', \ 'description': 'Fix R files with styler.',
\ }, \ },
\ 'latexindent': { \ 'latexindent': {

View File

@ -14,6 +14,7 @@ let s:default_ale_linter_aliases = {
\ 'csh': 'sh', \ 'csh': 'sh',
\ 'plaintex': 'tex', \ 'plaintex': 'tex',
\ 'rmarkdown': 'r', \ 'rmarkdown': 'r',
\ 'rmd': 'r',
\ 'systemverilog': 'verilog', \ 'systemverilog': 'verilog',
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown', \ 'vimwiki': 'markdown',

View File

@ -1043,6 +1043,7 @@ g:ale_linter_aliases *g:ale_linter_aliases*
\ 'csh': 'sh', \ 'csh': 'sh',
\ 'plaintex': 'tex', \ 'plaintex': 'tex',
\ 'rmarkdown': 'r', \ 'rmarkdown': 'r',
\ 'rmd': 'r',
\ 'systemverilog': 'verilog', \ 'systemverilog': 'verilog',
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown', \ 'vimwiki': 'markdown',