diff options
author | Eddie Lebow <elebow@users.noreply.github.com> | 2019-08-13 01:52:13 -0400 |
---|---|---|
committer | Eddie Lebow <elebow@users.noreply.github.com> | 2019-08-13 01:52:13 -0400 |
commit | 58e8d32d790ea3bb370b928581d5ec163cc7e930 (patch) | |
tree | 866dc623899b7cd271b940fe6779307094726a0e /ale_linters/ruby/rails_best_practices.vim | |
parent | 28c93ab1854ef41a46855401cc4addbaf7dfb9d4 (diff) | |
download | ale-58e8d32d790ea3bb370b928581d5ec163cc7e930.zip |
Move ale#handlers#ruby#EscapeExecutable to ale#ruby#EscapeExecutable
This function is generally applicable to Ruby, not just handling linter
output.
Diffstat (limited to 'ale_linters/ruby/rails_best_practices.vim')
-rw-r--r-- | ale_linters/ruby/rails_best_practices.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/ruby/rails_best_practices.vim b/ale_linters/ruby/rails_best_practices.vim index a94fb671..36646647 100644 --- a/ale_linters/ruby/rails_best_practices.vim +++ b/ale_linters/ruby/rails_best_practices.vim @@ -33,7 +33,7 @@ function! ale_linters#ruby#rails_best_practices#GetCommand(buffer) abort let l:output_file = has('win32') ? '%t ' : '/dev/stdout ' let l:cat_file = has('win32') ? '; type %t' : '' - return ale#handlers#ruby#EscapeExecutable(l:executable, 'rails_best_practices') + return ale#ruby#EscapeExecutable(l:executable, 'rails_best_practices') \ . ' --silent -f json --output-file ' . l:output_file \ . ale#Var(a:buffer, 'ruby_rails_best_practices_options') \ . ale#Escape(l:rails_root) |