Update the author line and the filenames for the GCC format pattern.
This commit is contained in:
parent
811a8a3054
commit
91dc117bec
@ -1,5 +1,4 @@
|
|||||||
" Author: w0rp <devw0rp@gmail.com>
|
" Author: w0rp <devw0rp@gmail.com>, KabbAmine <amine.kabb@gmail.com>
|
||||||
" Modified by: KabbAmine <amine.kabb@gmail.com>
|
|
||||||
" Description: This file adds support for checking Vim code with Vint.
|
" Description: This file adds support for checking Vim code with Vint.
|
||||||
|
|
||||||
if exists('g:loaded_ale_linters_vim_vint')
|
if exists('g:loaded_ale_linters_vim_vint')
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
scriptencoding utf-8
|
||||||
" Author: w0rp <devw0rp@gmail.com>
|
" Author: w0rp <devw0rp@gmail.com>
|
||||||
" Description: This file defines some standard error format handlers. Any
|
" Description: This file defines some standard error format handlers. Any
|
||||||
" linter which outputs warnings and errors in a format accepted by one of
|
" 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>:8:5: warning: conversion lacks type at end of format [-Wformat=]
|
||||||
" <stdin>:10:27: error: invalid operands to binary - (have ‘int’ and ‘char *’)
|
" <stdin>:10:27: error: invalid operands to binary - (have ‘int’ and ‘char *’)
|
||||||
" -:189:7: note: $/${} is unnecessary on arithmetic variables. [SC2004]
|
" -:189:7: note: $/${} is unnecessary on arithmetic variables. [SC2004]
|
||||||
let pattern = '^[^:]\+:\(\d\+\):\(\d\+\): \([^:]\+\): \(.\+\)$'
|
let pattern = '^.\+:\(\d\+\):\(\d\+\): \([^:]\+\): \(.\+\)$'
|
||||||
let output = []
|
let output = []
|
||||||
|
|
||||||
for line in a:lines
|
for line in a:lines
|
||||||
|
Loading…
Reference in New Issue
Block a user