mirror of https://github.com/dense-analysis/ale
Modify shell's pattern to handle locals other than english, fixes #69
This commit is contained in:
parent
731033588d
commit
b2714da78b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue