FIXED comments

This commit is contained in:
ynonp 2016-09-15 10:39:26 +03:00
parent 6d0d05410a
commit 5180deb1d2
1 changed files with 2 additions and 3 deletions

View File

@ -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 = []