summaryrefslogtreecommitdiff
path: root/ale_linters/ruby/sorbet.vim
diff options
context:
space:
mode:
authorEddie Lebow <elebow@users.noreply.github.com>2019-08-13 01:52:13 -0400
committerEddie Lebow <elebow@users.noreply.github.com>2019-08-13 01:52:13 -0400
commit58e8d32d790ea3bb370b928581d5ec163cc7e930 (patch)
tree866dc623899b7cd271b940fe6779307094726a0e /ale_linters/ruby/sorbet.vim
parent28c93ab1854ef41a46855401cc4addbaf7dfb9d4 (diff)
downloadale-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/sorbet.vim')
-rw-r--r--ale_linters/ruby/sorbet.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/ruby/sorbet.vim b/ale_linters/ruby/sorbet.vim
index ee765a6e..cae0683c 100644
--- a/ale_linters/ruby/sorbet.vim
+++ b/ale_linters/ruby/sorbet.vim
@@ -5,7 +5,7 @@ function! ale_linters#ruby#sorbet#GetCommand(buffer) abort
let l:executable = ale#Var(a:buffer, 'ruby_sorbet_executable')
let l:options = ale#Var(a:buffer, 'ruby_sorbet_options')
- return ale#handlers#ruby#EscapeExecutable(l:executable, 'srb')
+ return ale#ruby#EscapeExecutable(l:executable, 'srb')
\ . ' tc'
\ . (!empty(l:options) ? ' ' . l:options : '')
\ . ' --lsp --disable-watchman'