mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-26 15:43:16 +08:00
Add a function for getting matches, and use it to simplify a lot of code
This commit is contained in:
1 parent
e237add9fd
commit
bdad25eefd
53 files changed
+224
-411
No files matched your search
@@ -4,28 +4,24 @@ Execute(The rubocop handler should parse lines correctly):
|
||||
AssertEqual
|
||||
\ [
|
||||
\ {
|
||||
\ 'bufnr': 347,
|
||||
\ 'lnum': 83,
|
||||
\ 'col': 29,
|
||||
\ 'text': 'Prefer single-quoted strings...',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ {
|
||||
\ 'bufnr': 347,
|
||||
\ 'lnum': 12,
|
||||
\ 'col': 2,
|
||||
\ 'text': 'Some error',
|
||||
\ 'type': 'E',
|
||||
\ },
|
||||
\ {
|
||||
\ 'bufnr': 347,
|
||||
\ 'lnum': 10,
|
||||
\ 'col': 5,
|
||||
\ 'text': 'Regular warning',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ {
|
||||
\ 'bufnr': 347,
|
||||
\ 'lnum': 11,
|
||||
\ 'col': 1,
|
||||
\ 'text': 'Another error',
|
||||
|
||||
Reference in new issue
Block a user