From 58e8d32d790ea3bb370b928581d5ec163cc7e930 Mon Sep 17 00:00:00 2001 From: Eddie Lebow Date: Tue, 13 Aug 2019 01:52:13 -0400 Subject: Move ale#handlers#ruby#EscapeExecutable to ale#ruby#EscapeExecutable This function is generally applicable to Ruby, not just handling linter output. --- ale_linters/eruby/ruumba.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/eruby/ruumba.vim') diff --git a/ale_linters/eruby/ruumba.vim b/ale_linters/eruby/ruumba.vim index e68bb51d..2e84acf7 100644 --- a/ale_linters/eruby/ruumba.vim +++ b/ale_linters/eruby/ruumba.vim @@ -8,7 +8,7 @@ call ale#Set('eruby_ruumba_options', '') function! ale_linters#eruby#ruumba#GetCommand(buffer) abort let l:executable = ale#Var(a:buffer, 'eruby_ruumba_executable') - return ale#handlers#ruby#EscapeExecutable(l:executable, 'ruumba') + return ale#ruby#EscapeExecutable(l:executable, 'ruumba') \ . ' --format json --force-exclusion ' \ . ale#Var(a:buffer, 'eruby_ruumba_options') \ . ' --stdin ' . ale#Escape(expand('#' . a:buffer . ':p')) -- cgit v1.2.3