diff --git a/ale_linters/ruby/rubocop.vim b/ale_linters/ruby/rubocop.vim index e13309c..7ed91f4 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: " - " :47:14: Missing trailing comma. [Warning/comma-dangle] - " :56:41: Missing semicolon. [Error/semi] - " let pattern = '.*_:\(\d\+\):\(\d\+\): \(.\) \(.\+\)' + " /_: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 = []