Merge pull request #73 from KabbAmine/fix-69
Modify shell's pattern to handle locals other than english, fixes #69
This commit is contained in:
commit
dea8af1e57
@ -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
Block a user