I broke up with neovim....vim is my best friend now
This commit is contained in:
12
dot_vim/plugged/ale/ale_linters/ruby/ruby.vim
Normal file
12
dot_vim/plugged/ale/ale_linters/ruby/ruby.vim
Normal file
@@ -0,0 +1,12 @@
|
||||
" Author: Brandon Roehl - https://github.com/BrandonRoehl
|
||||
" Description: Ruby MRI for Ruby files
|
||||
|
||||
call ale#Set('ruby_ruby_executable', 'ruby')
|
||||
|
||||
call ale#linter#Define('ruby', {
|
||||
\ 'name': 'ruby',
|
||||
\ 'executable': {b -> ale#Var(b, 'ruby_ruby_executable')},
|
||||
\ 'command': '%e -w -c %t',
|
||||
\ 'output_stream': 'stderr',
|
||||
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
|
||||
\})
|
||||
Reference in New Issue
Block a user