From 192b3db3ee079625d524e88c56bb80b09af1f267 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 15 Sep 2016 21:09:04 +0100 Subject: [PATCH] Credit fijshion for his work in the files, and make the new linters work again by adding the now required name arguments. --- ale_linters/javascript/jscs.vim | 3 +++ ale_linters/ruby/rubocop.vim | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ale_linters/javascript/jscs.vim b/ale_linters/javascript/jscs.vim index 2be08e92..cfac067a 100644 --- a/ale_linters/javascript/jscs.vim +++ b/ale_linters/javascript/jscs.vim @@ -1,3 +1,5 @@ +" Author: Chris Kyrouac - https://github.com/fijshion + if exists('g:loaded_ale_linters_javascript_jscs') finish endif @@ -41,6 +43,7 @@ function! ale_linters#javascript#jscs#Handle(buffer, lines) endfunction call ALEAddLinter('javascript', { +\ 'name': 'jscs', \ 'executable': 'jscs', \ 'command': 'jscs -r unix -n -', \ 'callback': 'ale_linters#javascript#jscs#Handle', 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',