summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/ale/fix/registry.vim2
-rw-r--r--autoload/ale/linter.vim1
-rw-r--r--doc/ale.txt1
3 files changed, 3 insertions, 1 deletions
diff --git a/autoload/ale/fix/registry.vim b/autoload/ale/fix/registry.vim
index 925181ca..d72877af 100644
--- a/autoload/ale/fix/registry.vim
+++ b/autoload/ale/fix/registry.vim
@@ -297,7 +297,7 @@ let s:default_registry = {
\ },
\ 'styler': {
\ 'function': 'ale#fixers#styler#Fix',
-\ 'suggested_filetypes': ['r'],
+\ 'suggested_filetypes': ['r', 'rmarkdown'],
\ 'description': 'Fix R files with styler.',
\ },
\ 'latexindent': {
diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim
index 3cbcaf8c..6a714d6a 100644
--- a/autoload/ale/linter.vim
+++ b/autoload/ale/linter.vim
@@ -13,6 +13,7 @@ let s:default_ale_linter_aliases = {
\ 'Dockerfile': 'dockerfile',
\ 'csh': 'sh',
\ 'plaintex': 'tex',
+\ 'rmarkdown': 'r',
\ 'systemverilog': 'verilog',
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown',
diff --git a/doc/ale.txt b/doc/ale.txt
index 19f2f48b..da001c4d 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1012,6 +1012,7 @@ g:ale_linter_aliases *g:ale_linter_aliases*
\ 'Dockerfile': 'dockerfile',
\ 'csh': 'sh',
\ 'plaintex': 'tex',
+ \ 'rmarkdown': 'r',
\ 'systemverilog': 'verilog',
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown',