Modify shell's pattern to handle locals other than english, fixes #69

This commit is contained in:
Kabbaj Amine 2016-10-09 22:54:34 +03:00
parent 731033588d
commit b2714da78b
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ function! ale_linters#sh#shell#Handle(buffer, lines)
"
" bash: line 13: syntax error near unexpected token `d'
" sh: 11: Syntax error: "(" unexpected
let pattern = '^[^:]\+: \%(line \|\)\(\d\+\): \(.\+\)'
let pattern = '^[^:]\+: \%(\w\+ \|\)\(\d\+\): \(.\+\)'
let output = []
for line in a:lines