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
@@ -26,7 +26,6 @@ function! ale_linters#scala#scalac#Handle(buffer, lines) abort
endif
call add(l:output, {
\ 'bufnr': a:buffer,
\ 'lnum': l:match[1] + 0,
\ 'col': l:col + 1,
\ 'text': l:text,