diff options
author | w0rp <w0rp@users.noreply.github.com> | 2019-09-19 19:29:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-19 19:29:38 +0100 |
commit | 41ed10be4e67c1daf2772d8d59ad338d6d43ce90 (patch) | |
tree | c5551d8a3484166c2c096e11a3f51868bebd0180 | |
parent | 61cfb3fefb0ebd8654be452046bd2ba24025311f (diff) | |
parent | 34431d885b09b84af5d34622879053fb8f4dc8d4 (diff) | |
download | ale-41ed10be4e67c1daf2772d8d59ad338d6d43ce90.zip |
Merge pull request #2770 from statquant/master
Adding linting for rmd filetype (duplicate of rmarkdown)
-rw-r--r-- | autoload/ale/fix/registry.vim | 2 | ||||
-rw-r--r-- | autoload/ale/linter.vim | 1 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/autoload/ale/fix/registry.vim b/autoload/ale/fix/registry.vim index ace37207..750d2196 100644 --- a/autoload/ale/fix/registry.vim +++ b/autoload/ale/fix/registry.vim @@ -322,7 +322,7 @@ let s:default_registry = { \ }, \ 'styler': { \ 'function': 'ale#fixers#styler#Fix', -\ 'suggested_filetypes': ['r', 'rmarkdown'], +\ 'suggested_filetypes': ['r', 'rmarkdown', 'rmd'], \ 'description': 'Fix R files with styler.', \ }, \ 'latexindent': { diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 78dcd3a2..167dab1c 100644 --- a/autoload/ale/linter.vim +++ b/autoload/ale/linter.vim @@ -14,6 +14,7 @@ let s:default_ale_linter_aliases = { \ 'csh': 'sh', \ 'plaintex': 'tex', \ 'rmarkdown': 'r', +\ 'rmd': 'r', \ 'systemverilog': 'verilog', \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'vimwiki': 'markdown', diff --git a/doc/ale.txt b/doc/ale.txt index 5a123921..4bc69549 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1043,6 +1043,7 @@ g:ale_linter_aliases *g:ale_linter_aliases* \ 'csh': 'sh', \ 'plaintex': 'tex', \ 'rmarkdown': 'r', + \ 'rmd': 'r', \ 'systemverilog': 'verilog', \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'vimwiki': 'markdown', |