summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-05 11:35:09 +0100
committerw0rp <devw0rp@gmail.com>2016-10-05 11:35:16 +0100
commit91dc117bec7313a67f72b3a1a59b2dd94ca98d67 (patch)
tree0d34b22d4079cd57a25272da3206e4b422e61ca5 /plugin
parent811a8a305412820679a738bbde17c33df5e27cfd (diff)
downloadale-91dc117bec7313a67f72b3a1a59b2dd94ca98d67.zip
Update the author line and the filenames for the GCC format pattern.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale/handlers.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/ale/handlers.vim b/plugin/ale/handlers.vim
index fd0a1b85..a348ad30 100644
--- a/plugin/ale/handlers.vim
+++ b/plugin/ale/handlers.vim
@@ -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