summaryrefslogtreecommitdiff
path: root/ale_linters/r/lintr.vim
diff options
context:
space:
mode:
authorAlex Axthelm <AAxthelm@che.in.gov>2017-08-15 13:59:25 -0400
committerw0rp <devw0rp@gmail.com>2017-09-03 23:14:26 +0100
commit29ffd5134f022ad598a6ab80b93f27e19625ebb2 (patch)
tree0205cd350de4c3b0b63c688cb5333dabb7f34846 /ale_linters/r/lintr.vim
parent6833e01f23d07b18828fbf34c02636c63560d955 (diff)
downloadale-29ffd5134f022ad598a6ab80b93f27e19625ebb2.zip
Allow for lintr options
Diffstat (limited to 'ale_linters/r/lintr.vim')
-rw-r--r--ale_linters/r/lintr.vim2
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', {