diff options
author | Alex Axthelm <AAxthelm@che.in.gov> | 2017-08-15 13:59:25 -0400 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-09-03 23:14:26 +0100 |
commit | 29ffd5134f022ad598a6ab80b93f27e19625ebb2 (patch) | |
tree | 0205cd350de4c3b0b63c688cb5333dabb7f34846 | |
parent | 6833e01f23d07b18828fbf34c02636c63560d955 (diff) | |
download | ale-29ffd5134f022ad598a6ab80b93f27e19625ebb2.zip |
Allow for lintr options
-rw-r--r-- | ale_linters/r/lintr.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/r/lintr.vim b/ale_linters/r/lintr.vim index 9375b8a5..94bdd297 100644 --- a/ale_linters/r/lintr.vim +++ b/ale_linters/r/lintr.vim @@ -3,7 +3,7 @@ function! ale_linters#r#lintr#GetCommand(buffer) abort return ale#path#BufferCdString(a:buffer) - \ . 'Rscript -e ' . ale#Escape('lintr::lint(commandArgs(TRUE))') . ' %t' + \ . 'Rscript -e ' . ale#Escape('lintr::lint(commandArgs(TRUE), linters = lintr::with_defaults(object_usage_linter = NULL))') . ' %t' endfunction call ale#linter#Define('r', { |