summaryrefslogtreecommitdiff
path: root/ale_linters/ruby/rubocop.vim
diff options
context:
space:
mode:
authorynonp <ynonperek@gmail.com>2016-09-15 10:39:26 +0300
committerynonp <ynonperek@gmail.com>2016-09-15 10:39:26 +0300
commit5180deb1d20b904d751c815c34cd93b210ae7115 (patch)
tree9f8a3f732c77fea21f3c5f00ae1ec11154be2633 /ale_linters/ruby/rubocop.vim
parent6d0d05410a3406a773219b9d487b902b548e6cb1 (diff)
downloadale-5180deb1d20b904d751c815c34cd93b210ae7115.zip
FIXED comments
Diffstat (limited to 'ale_linters/ruby/rubocop.vim')
-rw-r--r--ale_linters/ruby/rubocop.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/ale_linters/ruby/rubocop.vim b/ale_linters/ruby/rubocop.vim
index e13309c9..7ed91f4a 100644
--- a/ale_linters/ruby/rubocop.vim
+++ b/ale_linters/ruby/rubocop.vim
@@ -7,9 +7,8 @@ let g:loaded_ale_linters_ruby_rubocop = 1
function! ale_linters#ruby#rubocop#Handle(buffer, lines)
" Matches patterns line the following:
"
- " <text>:47:14: Missing trailing comma. [Warning/comma-dangle]
- " <text>:56:41: Missing semicolon. [Error/semi]
- " let pattern = '.*_:\(\d\+\):\(\d\+\): \(.\) \(.\+\)'
+ " <path>/_:47:14: 83:29: C: Prefer single-quoted strings when you don't
+ " need string interpolation or special symbols.
let pattern = '\v_:(\d+):(\d+): (.): (.+)'
let output = []