Update the author line and the filenames for the GCC format pattern.

This commit is contained in:
w0rp
2016-10-05 11:35:09 +01:00
parent 811a8a3054
commit 91dc117bec
2 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
scriptencoding utf-8
" Author: w0rp <devw0rp@gmail.com>
" Description: This file defines some standard error format handlers. Any
" linter which outputs warnings and errors in a format accepted by one of
@@ -15,7 +16,7 @@ function! ale#handlers#HandleGCCFormat(buffer, lines)
" <stdin>:8:5: warning: conversion lacks type at end of format [-Wformat=]
" <stdin>:10:27: error: invalid operands to binary - (have int and char *)
" -:189:7: note: $/${} is unnecessary on arithmetic variables. [SC2004]
let pattern = '^[^:]\+:\(\d\+\):\(\d\+\): \([^:]\+\): \(.\+\)$'
let pattern = '^.\+:\(\d\+\):\(\d\+\): \([^:]\+\): \(.\+\)$'
let output = []
for line in a:lines