mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
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:
@@ -39,7 +39,7 @@ function! ale_linters#sh#shell#Handle(buffer, lines)
|
|||||||
"
|
"
|
||||||
" bash: line 13: syntax error near unexpected token `d'
|
" bash: line 13: syntax error near unexpected token `d'
|
||||||
" sh: 11: Syntax error: "(" unexpected
|
" sh: 11: Syntax error: "(" unexpected
|
||||||
let pattern = '^[^:]\+: \%(line \|\)\(\d\+\): \(.\+\)'
|
let pattern = '^[^:]\+: \%(\w\+ \|\)\(\d\+\): \(.\+\)'
|
||||||
let output = []
|
let output = []
|
||||||
|
|
||||||
for line in a:lines
|
for line in a:lines
|
||||||
|
|||||||
Reference in New Issue
Block a user