Add a function for getting matches, and use it to simplify a lot of code

This commit is contained in:
w0rp committed 2017-04-18 00:35:53 +01:00
1 parent e237add9fd
commit bdad25eefd
53 files changed
+224 -411

No files matched your search

-1
View File
@@ -19,7 +19,6 @@ function! ale_linters#ruby#ruby#Handle(buffer, lines) abort
endif
else
call add(l:output, {
\ 'bufnr': a:buffer,
\ 'lnum': l:match[1] + 0,
\ 'col': 0,
\ 'text': l:match[2] . l:match[3],