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

This commit is contained in:
w0rp committed 2016-10-05 11:35:16 +01:00
1 parent 811a8a3054
commit 91dc117bec
2 files changed
+3 -3

No files matched your search

+1 -2
View File
@@ -1,5 +1,4 @@
" Author: w0rp <devw0rp@gmail.com>
" Modified by: KabbAmine <amine.kabb@gmail.com>
" Author: w0rp <devw0rp@gmail.com>, KabbAmine <amine.kabb@gmail.com>
" Description: This file adds support for checking Vim code with Vint.
if exists('g:loaded_ale_linters_vim_vint')
+2 -1
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