mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-22 20:11:26 +08:00
Add Ruby sorbet option to enable watchman
This commit is contained in:
@@ -5,6 +5,7 @@ Before:
|
||||
|
||||
let g:ale_ruby_sorbet_executable = 'srb'
|
||||
let g:ale_ruby_sorbet_options = ''
|
||||
let g:ale_ruby_sorbet_enable_watchman = 0
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
@@ -13,6 +14,12 @@ Execute(Executable should default to srb):
|
||||
AssertLinter 'srb', ale#Escape('srb')
|
||||
\ . ' tc --lsp --disable-watchman'
|
||||
|
||||
Execute(Able to enable watchman):
|
||||
let g:ale_ruby_sorbet_enable_watchman = 1
|
||||
|
||||
AssertLinter 'srb', ale#Escape('srb')
|
||||
\ . ' tc --lsp'
|
||||
|
||||
Execute(Should be able to set a custom executable):
|
||||
let g:ale_ruby_sorbet_executable = 'bin/srb'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user