summaryrefslogtreecommitdiff
path: root/ale_linters/ruby
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-09-15 21:09:04 +0100
committerw0rp <devw0rp@gmail.com>2016-09-15 21:09:04 +0100
commit192b3db3ee079625d524e88c56bb80b09af1f267 (patch)
tree1ec875fd720b089b8cfa252c0b565d00f05c5ed3 /ale_linters/ruby
parentd97d05e508fc5b4542bfbb30f1b1b2c0b72eac10 (diff)
downloadale-192b3db3ee079625d524e88c56bb80b09af1f267.zip
Credit fijshion for his work in the files, and make the new linters work again by adding the now required name arguments.
Diffstat (limited to 'ale_linters/ruby')
-rw-r--r--ale_linters/ruby/rubocop.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ale_linters/ruby/rubocop.vim b/ale_linters/ruby/rubocop.vim
index 7ed91f4a..2fe74cc9 100644
--- a/ale_linters/ruby/rubocop.vim
+++ b/ale_linters/ruby/rubocop.vim
@@ -1,3 +1,5 @@
+" Author: Chris Kyrouac - https://github.com/fijshion
+
if exists('g:loaded_ale_linters_ruby_rubocop')
finish
endif
@@ -38,6 +40,7 @@ function! ale_linters#ruby#rubocop#Handle(buffer, lines)
endfunction
call ALEAddLinter('ruby', {
+\ 'name': 'rubocop',
\ 'executable': 'rubocop',
\ 'command': 'rubocop --format emacs --stdin _',
\ 'callback': 'ale_linters#ruby#rubocop#Handle',